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 |
---|---|
Overloaded. Default list of task creation options |
Public Methods
Name |
Description |
---|---|
Returns the cancellation token |
|
Returns the continuation context |
|
Returns the scheduler |
|
Indicates whether a cancellation token was specified by the user |
|
Indicates whether a scheduler n was specified by the user |
|
Sets the given token in the options |
|
Sets the given continuation context in the options |
Requirements
Header: pplxtasks.h
Namespace: pplx