CloudBlobContainer.releaseLease Method

Definition

Overloads

releaseLease(final AccessCondition accessCondition)

Releases the lease on the container.

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

Releases the lease on the container using the specified access conditions, request options, and operation context.

releaseLease(final AccessCondition accessCondition)

Releases the lease on the container.

public final void releaseLease(final AccessCondition accessCondition)
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.

Returns
final void
Exceptions

If a storage service error occurred.

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

Releases the lease on the container using the specified access conditions, request options, and operation context.

public final void releaseLease(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.