Compartir a través de


task_continuation_context Class (C++ REST SDK)

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.

Warning

This topic contains information for the C++ REST SDK 1.0 (codename "Casablanca"). If you are using a later version from the Codeplex Casablanca web page, then use the local documentation at http://casablanca.codeplex.com/documentation.

class task_continuation_context : public details::_ContextCallback;

Members

Public Methods

Name

Description

task_continuation_context::use_arbitrary Method (C++ REST SDK)

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

task_continuation_context::use_current Method (C++ REST SDK)

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

task_continuation_context::use_default Method (C++ REST SDK)

Creates the default task continuation context.

Requirements

Header: pplxtasks.h

Namespace: pplx

See Also

Reference

pplx Namespace

task Class