CloudBlobContainer.renewLease Method

Definition

Overloads

renewLease(final AccessCondition accessCondition)

Renews an existing lease with the specified access conditions.

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

Renews an existing lease with the specified access conditions, request options, and operation context.

renewLease(final AccessCondition accessCondition)

Renews an existing lease with the specified access conditions.

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

An AccessCondition object that represents the access conditions for the container. The lease ID is required to be set with an access condition.

Returns
final void
Exceptions

If a storage service error occurred.

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

Renews an existing lease with the specified access conditions, 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 lease ID is required to be set with an access condition.

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. The context 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.

Applies to