ValueTask.ConfigureAwait(Boolean) Método

Definição

Configura um awaiter para esse valor.Configures an awaiter for this value.

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.true to attempt to marshal the continuation back to the captured context; otherwise, false.

Retornos

O awaiter configurado.The configured awaiter.

Aplica-se a