CloudBlob.renewLease Method

Definition

Overloads

renewLease(final AccessCondition accessCondition)

Renews an existing lease.

renewLease(final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)

Renews an existing lease using the specified request options and operation context.

renewLease(final AccessCondition accessCondition)

Renews an existing lease.

public final void renewLease(final AccessCondition accessCondition)
Parameters
accessCondition
final AccessCondition

An AccessCondition object that represents the access conditions for the blob. The LeaseID is required to be set on the AccessCondition.

Returns
final void
Exceptions

If a storage service error occurred.

renewLease(final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)

Renews an existing lease using the specified request options and operation context.

public final void renewLease(final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)
Parameters
accessCondition
final AccessCondition

An AccessCondition object that represents the access conditions for the blob. The LeaseID is required to be set on the AccessCondition.

options
BlobRequestOptions

A BlobRequestOptions object that specifies any additional options for the request. Specifying null will use the default request options from the associated service client ( CloudBlobClient).

opContext
OperationContext

An OperationContext object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation.

Returns
final void
Exceptions

If a storage service error occurred.