共用方式為


QueueOperationsExtensions.DeleteAsync 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 static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.WindowsAzure.Management.ServiceBus.IQueueOperations operations, string namespaceName, string queueName);
static member DeleteAsync : Microsoft.WindowsAzure.Management.ServiceBus.IQueueOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IQueueOperations, namespaceName As String, queueName As String) As Task(Of AzureOperationResponse)

Parameters

operations
IQueueOperations

Reference to the Microsoft.WindowsAzure.Management.ServiceBus.IQueueOperations.

namespaceName
String

Required. The namespace name.

queueName
String

Required. The queue name.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to