Compartilhar via


DataReplicationProtectedItemCollection.IAsyncEnumerable<DataReplicationProtectedItemResource>.GetAsyncEnumerator Método

Definição

Retorna um enumerador que itera de maneira assíncrona por meio da coleção.

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

Parâmetros

cancellationToken
CancellationToken

Um CancellationToken que pode ser usado para cancelar a iteração assíncrona.

Retornos

Um enumerador que pode ser usado para iterar de maneira assíncrona por meio da coleção.

Implementações

Aplica-se a