task_continuation_context Class

 

The task_continuation_context class allows you to specify where you would like a continuation to be executed. It is only useful to use this class from a Windows Store app. For non-Windows Store apps, the task continuation's execution context is determined by the runtime, and not configurable.

class task_continuation_context : public details::_ContextCallback;

Name

Description

task_continuation_context::get_current_winrt_context Method

Returns a task continuation context object that represents the current winrt thread context.

task_continuation_context::use_arbitrary Method

Creates a task continuation context which allows the Runtime to choose the execution context for a continuation.

task_continuation_context::use_current Method

Returns a task continuation context object that represents the current execution context.

task_continuation_context::use_default Method

Creates the default task continuation context.

task_continuation_context::use_synchronous_execution Method

Returns a task continuation context object that represents the synchronous execution context.

_ContextCallback

 task_continuation_context

Requirements

Header: ppltasks.h

Namespace: concurrency

Show: