你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TopicOperationsExtensions.DeleteAsync 方法

定义

删除现有主题。 此操作还将删除所有关联状态,包括关联的订阅。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/hh780721.aspx)

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)

参数

operations
ITopicOperations

对 Microsoft.WindowsAzure.Management.ServiceBus.ITopicOperations 的引用。

namespaceName
String

必需。 命名空间名称。

topicName
String

必需。 主题。

返回

Task<Microsoft.Azure.AzureOperationResponse>

标准服务响应,包括 HTTP 状态代码和请求 ID。

适用于