Compartilhar via


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

Definição

Configura um awaiter para esse valor.

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)

Parâmetros

continueOnCapturedContext
Boolean

true para tentar realizar marshaling na continuação de volta para o contexto capturado, caso contrário, false.

Retornos

ConfiguredValueTaskAwaitable<TResult>

O awaiter configurado.

Aplica-se a