共用方式為


IQueueOperations.DeleteAsync(String, String, CancellationToken) Method

Definition

Deletes an existing queue. This operation will also remove all associated state including messages in the queue. (see http://msdn.microsoft.com/en-us/library/hh780747.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string namespaceName, string queueName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (namespaceName As String, queueName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

namespaceName
String

The namespace name.

queueName
String

The queue name.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to