ValueTask.ConfigureAwait(Boolean) Method

Definition

Configures an awaiter for this value.

C#
public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable 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

Proizvod Verzije
.NET 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