System::Threading::Tasks::ResultTask::ConfigureAwait method
ResultTask::ConfigureAwait method
Configures how awaits on this result task should behave regarding context capture.
Runtime::CompilerServices::ConfiguredResultTaskAwaitable<T> System::Threading::Tasks::ResultTask<T>::ConfigureAwait(bool continueOnCapturedContext) const
Parameter | Type | Description |
---|---|---|
continueOnCapturedContext | bool | Whether to continue on the captured context |
ReturnValue
Runtime::CompilerServices::ConfiguredResultTaskAwaitable
Remarks
This enables fine-grained control over context flow for async/await patterns
See Also
- Class ConfiguredResultTaskAwaitable
- Class ResultTask
- Namespace System::Threading::Tasks
- Library Aspose.PDF for C++