Share via


GalleryCollection.IAsyncEnumerable<GalleryResource>.GetAsyncEnumerator Méthode

Définition

Retourne un énumérateur qui boucle de façon asynchrone dans la collection.

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

Paramètres

cancellationToken
CancellationToken

CancellationToken qui peut être utilisé pour annuler l’itération asynchrone.

Retours

Énumérateur qui peut être utilisé pour boucler de façon asynchrone dans la collection.

Implémente

S’applique à