ConfigureAwait()

ResultValueTask::ConfigureAwait(bool) const method

Configures an awaiter for this task.

Runtime::CompilerServices::ConfiguredResultValueTaskAwaitable<T> System::Threading::Tasks::ResultValueTask<T>::ConfigureAwait(bool continueOnCapturedContext) const

Arguments

ParameterTypeDescription
continueOnCapturedContextbooltrue to attempt to marshal the continuation back to the original context captured; otherwise, false.

Return Value

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

See Also