CloudQueue.BeginClear CloudQueue.BeginClear CloudQueue.BeginClear Method

Definition

Overloads

BeginClear(AsyncCallback, Object) BeginClear(AsyncCallback, Object) BeginClear(AsyncCallback, Object)

Begins an asynchronous operation to clear all messages from the queue.

BeginClear(QueueRequestOptions, OperationContext, AsyncCallback, Object) BeginClear(QueueRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to clear all messages from the queue.

BeginClear(AsyncCallback, Object) BeginClear(AsyncCallback, Object) BeginClear(AsyncCallback, Object)

Begins an asynchronous operation to clear all messages from the queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginClear (AsyncCallback callback, object state);
abstract member BeginClear : AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginClear : AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
Public Overridable Function BeginClear (callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameters

callback
AsyncCallback AsyncCallback AsyncCallback

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

BeginClear(QueueRequestOptions, OperationContext, AsyncCallback, Object) BeginClear(QueueRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to clear all messages from the queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginClear (Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
abstract member BeginClear : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginClear : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult

Parameters

options
QueueRequestOptions QueueRequestOptions QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

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

callback
AsyncCallback AsyncCallback AsyncCallback

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