Freigeben über


ReplicationProtectionIntentCollection.IAsyncEnumerable<ReplicationProtectionIntentResource>.GetAsyncEnumerator Methode

Definition

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

System.Collections.Generic.IAsyncEnumerator<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectionIntentResource> IAsyncEnumerable<ReplicationProtectionIntentResource>.GetAsyncEnumerator (System.Threading.CancellationToken cancellationToken);
abstract member System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectionIntentResource>.GetAsyncEnumerator : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectionIntentResource>
override this.System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectionIntentResource>.GetAsyncEnumerator : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectionIntentResource>
Function GetAsyncEnumerator (cancellationToken As CancellationToken) As IAsyncEnumerator(Of ReplicationProtectionIntentResource) Implements IAsyncEnumerable(Of ReplicationProtectionIntentResource).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: