System::Threading::Tasks::ValueTask::ConfigureAwait méthode

ValueTask::ConfigureAwait method

Configure un awaiter pour cette tâche.

Runtime::CompilerServices::ConfiguredValueTaskAwaitable System::Threading::Tasks::ValueTask::ConfigureAwait(bool continueOnCapturedContext) const
ParamètreTypeDescription
continueOnCapturedContextbooltrue pour tenter de transmettre la continuation au contexte d’origine capturé ; sinon, false.

ReturnValue

ConfiguredValueTaskAwaitable Un objet qui configure le comportement des awaiters pour cette tâche.

Voir aussi