Dela via


TopicOperationsExtensions.DeleteAsync Method

Definition

Deletes an existing topic. This operation will also remove all associated state including associated subscriptions. (see http://msdn.microsoft.com/en-us/library/hh780721.aspx for more information)

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

Parameters

operations
ITopicOperations

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

namespaceName
String

Required. The namespace name.

topicName
String

Required. The topic.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to