System::Threading::Tasks::Task::ConfigureAwait method

Task::ConfigureAwait method

Configures how awaits on this task should behave regarding context capture.

Runtime::CompilerServices::ConfiguredTaskAwaitable System::Threading::Tasks::Task::ConfigureAwait(bool continueOnCapturedContext) const
ParameterTypeDescription
continueOnCapturedContextboolWhether to continue on the captured context

ReturnValue

Runtime::CompilerServices::ConfiguredTaskAwaitable A configured awaitable

See Also