task_continuation_context Class
Collapse the table of content
Expand the table of content

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;

Public Methods



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.




Header: ppltasks.h

Namespace: concurrency

© 2015 Microsoft