System::Threading::Tasks::ResultValueTask::ConfigureAwait method

ResultValueTask::ConfigureAwait method

Configures an awaiter for this task.

Runtime::CompilerServices::ConfiguredResultValueTaskAwaitable<T> System::Threading::Tasks::ResultValueTask<T>::ConfigureAwait(bool continueOnCapturedContext) const
ParameterTypeDescription
continueOnCapturedContextbooltrue to attempt to marshal the continuation back to the original context captured; otherwise, false.

ReturnValue

ConfiguredResultValueTaskAwaitable An object that configures how awaiters behave for this task.

See Also