task_continuation_context::use_synchronous_execution Method
Returns a task continuation context object that represents the synchronous execution context.
Syntax
static task_continuation_context use_synchronous_execution();
Return Value
The synchronous execution context.
Remarks
The use_synchronous_execution method forces the continuation task to run synchronously on the context, causing its antecedent task's completion.
If the antecedent task has already completed when the continuation is attached, the continuation runs synchronously on the context that attaches the continuation.
Requirements
Header: ppltasks.h
Namespace: concurrency