Freigeben über


EventHubConsumerGroupInfoCollection.IAsyncEnumerable<EventHubConsumerGroupInfoResource>.GetAsyncEnumerator Methode

Definition

Gibt einen Enumerator zurück, der die Sammlung asynchron durchläuft.

System.Collections.Generic.IAsyncEnumerator<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource> IAsyncEnumerable<EventHubConsumerGroupInfoResource>.GetAsyncEnumerator (System.Threading.CancellationToken cancellationToken);
abstract member System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource>.GetAsyncEnumerator : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource>
override this.System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource>.GetAsyncEnumerator : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<Azure.ResourceManager.IotHub.EventHubConsumerGroupInfoResource>
Function GetAsyncEnumerator (cancellationToken As CancellationToken) As IAsyncEnumerator(Of EventHubConsumerGroupInfoResource) Implements IAsyncEnumerable(Of EventHubConsumerGroupInfoResource).GetAsyncEnumerator

Parameter

cancellationToken
CancellationToken

Ein CancellationToken, mit dem die asynchrone Iteration abgebrochen werden kann.

Gibt zurück

Ein Enumerator, der zum asynchronen Durchlaufen der Sammlung verwendet werden kann.

Implementiert

Gilt für: