Compartilhar via


task_options Class

Represents the allowed options for creating a task

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_options;

Members

Public Constructors

Name

Description

task_options::task_options Constructor

Overloaded. Default list of task creation options

Public Methods

Name

Description

task_options::get_cancellation_token Method

Returns the cancellation token

task_options::get_continuation_context Method

Returns the continuation context

task_options::get_scheduler Method

Returns the scheduler

task_options::has_cancellation_token Method

Indicates whether a cancellation token was specified by the user

task_options::has_scheduler Method

Indicates whether a scheduler n was specified by the user

task_options::set_cancellation_token Method

Sets the given token in the options

task_options::set_continuation_context Method

Sets the given continuation context in the options

Requirements

Header: pplxtasks.h

Namespace: pplx

See Also

Reference

pplx Namespace