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

IotHubResourceOperationsExtensions.DeleteEventHubConsumerGroupAsync 方法

定义

从 IoT 中心内与事件中心兼容的终结点中删除使用者组

public static System.Threading.Tasks.Task DeleteEventHubConsumerGroupAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, string eventHubEndpointName, string name, System.Threading.CancellationToken cancellationToken = default);
static member DeleteEventHubConsumerGroupAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteEventHubConsumerGroupAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, eventHubEndpointName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IIotHubResourceOperations

此扩展方法的操作组。

resourceGroupName
String

包含 IoT 中心的资源组的名称。

resourceName
String

IoT 中心的名称。

eventHubEndpointName
String

IoT 中心内与事件中心兼容的终结点的名称。

name
String

要删除的使用者组的名称。

cancellationToken
CancellationToken

取消标记。

返回

注解

从 IoT 中心内与事件中心兼容的终结点中删除使用者组。

适用于