Dela via


ITopicOperations.DeleteAsync(String, String, CancellationToken) 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 System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string namespaceName, string topicName, 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, topicName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

namespaceName
String

The namespace name.

topicName
String

The topic.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to