ConfiguredCancelableAsyncEnumerable<T>.ConfigureAwait(Boolean) Metod

Definition

Konfigurerar hur väntar på de uppgifter som returneras från en asynkron iteration kommer att utföras.

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)

Parametrar

continueOnCapturedContext
Boolean

Om du vill samla in och konvertera tillbaka till den aktuella kontexten.

Returer

Den konfigurerade uppräkningsbara.

Kommentarer

Detta ersätter alla tidigare värden som angetts av ConfigureAwait(Boolean) för den här iterationen.

Gäller för