task_canceled Class
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.
C++
class task_canceled : public std::exception;
Name | Description |
---|---|
task_canceled | Overloaded. Constructs a task_canceled object. |
exception
task_canceled
Header: concrt.h
Namespace: concurrency
Constructs a task_canceled
object.
C++
explicit _CRTIMP task_canceled(_In_z_ const char* _Message) throw();
task_canceled() throw();
_Message
A descriptive message of the error.