ConfiguredCancelableAsyncEnumerable<T>.ConfigureAwait(Boolean) Methode

Definitie

Hiermee configureert u hoe wacht op de taken die worden geretourneerd door een asynchrone iteratie, worden uitgevoerd.

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)

Parameters

continueOnCapturedContext
Boolean

Of het nu gaat om het vastleggen en marshal terug naar de huidige context.

Retouren

De geconfigureerde opsomming.

Opmerkingen

Hiermee vervangt u alle eerdere waarden die zijn ingesteld ConfigureAwait(Boolean) voor deze iteratie.

Van toepassing op