ConfiguredCancelableAsyncEnumerable<T>.ConfigureAwait(Boolean) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Configura como as tarefas devolvidas de uma iteração assíncrona serão realizadas.
public:
System::Runtime::CompilerServices::ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait(bool continueOnCapturedContext);
public System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait(bool continueOnCapturedContext);
member this.ConfigureAwait : bool -> System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<'T>
Public Function ConfigureAwait (continueOnCapturedContext As Boolean) As ConfiguredCancelableAsyncEnumerable(Of T)
Parâmetros
- continueOnCapturedContext
- Boolean
Se deve capturar e reunir para o contexto atual.
Devoluções
O enumerável configurado.
Observações
Isto substituirá qualquer valor previamente definido por ConfigureAwait(Boolean) para esta iteração.