Dela via


NamespaceOperationsExtensions.DeleteAsync Method

Definition

Deletes an existing namespace. This operation also removes all associated entities including queues, topics, relay points, and messages stored under the namespace. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj856296.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations operations, string namespaceName);
static member DeleteAsync : Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As INamespaceOperations, namespaceName As String) As Task(Of AzureOperationResponse)

Parameters

operations
INamespaceOperations

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

namespaceName
String

Required. The namespace name.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to