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

Microsoft.Azure.AzureOperationResponse

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

Applies to