ConfiguredCancelableAsyncEnumerable<T> ConfiguredCancelableAsyncEnumerable<T> ConfiguredCancelableAsyncEnumerable<T> ConfiguredCancelableAsyncEnumerable<T> Struct

Definição

Fornece um enumerável assíncrono aguardável que permite uma iteração cancelável e esperas configuradas.Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.

generic <typename T>
public value class ConfiguredCancelableAsyncEnumerable
public struct ConfiguredCancelableAsyncEnumerable<T>
type ConfiguredCancelableAsyncEnumerable<'T> = struct
Public Structure ConfiguredCancelableAsyncEnumerable(Of T)

Parâmetros de tipo

T

O tipo de valores a serem enumerados.The type of values to enumerate.

Herança
ConfiguredCancelableAsyncEnumerable<T>ConfiguredCancelableAsyncEnumerable<T>ConfiguredCancelableAsyncEnumerable<T>ConfiguredCancelableAsyncEnumerable<T>

Métodos

ConfigureAwait(Boolean) ConfigureAwait(Boolean) ConfigureAwait(Boolean) ConfigureAwait(Boolean)

Configura como as esperas nas tarefas retornadas da iteração assíncrona serão realizadas.Configures how awaits on the tasks returned from an async iteration will be performed.

GetAsyncEnumerator() GetAsyncEnumerator() GetAsyncEnumerator() GetAsyncEnumerator()

Retorna um enumerador que itera de forma assíncrona por meio de coleções que habilitam a iteração cancelável e awaits configurados.Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits.

WithCancellation(CancellationToken) WithCancellation(CancellationToken) WithCancellation(CancellationToken) WithCancellation(CancellationToken)

Define o CancellationToken a ser passado para o GetAsyncEnumerator(CancellationToken) ao iterar.Sets the CancellationToken to be passed to GetAsyncEnumerator(CancellationToken) when iterating.

Aplica-se a