CloudBlobContainer.BeginChangeLease CloudBlobContainer.BeginChangeLease CloudBlobContainer.BeginChangeLease Method

Definition

Overloads

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

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

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

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

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

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

public:
 virtual Microsoft::WindowsAzure::Storage::ICancellableAsyncResult ^ BeginChangeLease(System::String ^ proposedLeaseId, Microsoft::WindowsAzure::Storage::AccessCondition ^ accessCondition, AsyncCallback ^ callback, System::Object ^ state);
[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 String

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

accessCondition
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 AsyncCallback

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

state
Object Object Object

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

Returns

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

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

public:
 virtual Microsoft::WindowsAzure::Storage::ICancellableAsyncResult ^ BeginChangeLease(System::String ^ proposedLeaseId, Microsoft::WindowsAzure::Storage::AccessCondition ^ accessCondition, Microsoft::WindowsAzure::Storage::Blob::BlobRequestOptions ^ options, Microsoft::WindowsAzure::Storage::OperationContext ^ operationContext, AsyncCallback ^ callback, System::Object ^ state);
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 String

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

accessCondition
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 BlobRequestOptions

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

operationContext
OperationContext OperationContext OperationContext

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

callback
AsyncCallback AsyncCallback AsyncCallback

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

state
Object Object Object

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

Returns

Applies to