CloudQueue.DeleteAsync CloudQueue.DeleteAsync CloudQueue.DeleteAsync Method

Definition

Overloads

DeleteAsync() DeleteAsync() DeleteAsync()

Initiates an asynchronous operation to delete a queue.

DeleteAsync(CancellationToken) DeleteAsync(CancellationToken)

Initiates an asynchronous operation to delete a queue.

DeleteAsync(QueueRequestOptions, OperationContext) DeleteAsync(QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to delete a queue.

DeleteAsync(QueueRequestOptions, OperationContext, CancellationToken) DeleteAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to delete a queue.

DeleteAsync() DeleteAsync() DeleteAsync()

Initiates an asynchronous operation to delete a queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteAsync ();
abstract member DeleteAsync : unit -> System.Threading.Tasks.Task
override this.DeleteAsync : unit -> System.Threading.Tasks.Task
Public Overridable Function DeleteAsync () As Task

Returns

A Task object that represents the asynchronous operation.

DeleteAsync(CancellationToken) DeleteAsync(CancellationToken)

Initiates an asynchronous operation to delete a queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteAsync (System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

DeleteAsync(QueueRequestOptions, OperationContext) DeleteAsync(QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to delete a queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteAsync (Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member DeleteAsync : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.DeleteAsync : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task

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.

Returns

A Task object that represents the asynchronous operation.

DeleteAsync(QueueRequestOptions, OperationContext, CancellationToken) DeleteAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to delete a queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteAsync (Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteAsync : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task

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.

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to