STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
Concurrency::task_canceled Class Reference

This class describes an exception thrown by the PPL tasks layer in order to force the current task to cancel. It is also thrown by the get() method on task, for a canceled task. More...

#include <pplinterface.h>

Inheritance diagram for Concurrency::task_canceled:

Public Member Functions

 task_canceled (_In_z_ const char *_Message) _NOEXCEPT
 Constructs a task_canceled object. More...
 
 task_canceled () _NOEXCEPT
 Constructs a task_canceled object. More...
 

Detailed Description

This class describes an exception thrown by the PPL tasks layer in order to force the current task to cancel. It is also thrown by the get() method on task, for a canceled task.

See also
task::get Method, cancel_current_task Method

Constructor & Destructor Documentation

Concurrency::task_canceled::task_canceled ( _In_z_ const char *  _Message)
inlineexplicit

Constructs a task_canceled object.

Parameters
_MessageA descriptive message of the error.
174  : exception(_Message)
175  {}
Definition: exception:80
Concurrency::task_canceled::task_canceled ( )
inline

Constructs a task_canceled object.

182  : exception()
183  {}
Definition: exception:80

The documentation for this class was generated from the following file: