Partager via


ValueTask<TResult>.ConfigureAwait(Boolean) Méthode

Définition

Configure un awaiter pour cette valeur.

public:
 System::Runtime::CompilerServices::ConfiguredValueTaskAwaitable<TResult> ConfigureAwait(bool continueOnCapturedContext);
public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult> ConfigureAwait (bool continueOnCapturedContext);
member this.ConfigureAwait : bool -> System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<'Result>
Public Function ConfigureAwait (continueOnCapturedContext As Boolean) As ConfiguredValueTaskAwaitable(Of TResult)

Paramètres

continueOnCapturedContext
Boolean

true en cas de tentative de marshaling de la continuation vers le contexte capturé ; sinon, false.

Retours

Awaiter configuré.

S’applique à