Skip to main content
Visual Studio 2012 - Visual C++
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;
Members
Public Methods

Name

Description

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.

Inheritance Hierarchy

_ContextCallback

task_continuation_context

Requirements

Header: ppltasks.h

Namespace: concurrency