Compartilhar via


ValueTask.ConfigureAwait(Boolean) Método

Definição

Configura um awaiter para esse valor.

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

Parâmetros

continueOnCapturedContext
Boolean

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

Retornos

O awaiter configurado.

Aplica-se a