ValueTask<TResult>.ConfigureAwait(Boolean) Method

Definition

Configures an awaiter for this value.

C#
public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult> ConfigureAwait(bool continueOnCapturedContext);

Parameters

continueOnCapturedContext
Boolean

true to attempt to marshal the continuation back to the captured context; otherwise, false.

Returns

The configured awaiter.

Applies to

Produkt Verzie
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1