CloudBlob.BeginChangeLease CloudBlob.BeginChangeLease Method

Definition

Overloads

BeginChangeLease(String, AccessCondition, AsyncCallback, Object) BeginChangeLease(String, AccessCondition, AsyncCallback, Object)

Begins an asynchronous operation to change the lease on this blob.

BeginChangeLease(String, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) BeginChangeLease(String, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to change the lease on this blob.

BeginChangeLease(String, AccessCondition, AsyncCallback, Object) BeginChangeLease(String, AccessCondition, AsyncCallback, Object)

Begins an asynchronous operation to change the lease on this blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginChangeLease (string proposedLeaseId, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, AsyncCallback callback, object state);
abstract member BeginChangeLease : string * Microsoft.WindowsAzure.Storage.AccessCondition * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginChangeLease : string * Microsoft.WindowsAzure.Storage.AccessCondition * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult

Parameters

proposedLeaseId
String String

A string representing the proposed lease ID for the new lease. This cannot be null.

accessCondition
AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed, including a required lease ID.

callback
AsyncCallback AsyncCallback

An optional callback delegate that will receive notification when the asynchronous operation completes.

state
Object Object

A user-defined object that will be passed to the callback delegate.

Returns

An ICancellableAsyncResult that references the asynchronous operation.

BeginChangeLease(String, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) BeginChangeLease(String, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to change the lease on this blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginChangeLease (string proposedLeaseId, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
abstract member BeginChangeLease : string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginChangeLease : string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult

Parameters

proposedLeaseId
String String

A string representing the proposed lease ID for the new lease. This cannot be null.

accessCondition
AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed, including a required lease ID.

options
BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

callback
AsyncCallback AsyncCallback

An optional callback delegate that will receive notification when the asynchronous operation completes.

state
Object Object

A user-defined object that will be passed to the callback delegate.

Returns

An ICancellableAsyncResult that references the asynchronous operation.

Applies to