C++ Rest SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Public Member Functions | List of all members
pplx::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 <pplxcancellation_token.h>

Inheritance diagram for pplx::task_canceled:

Public Member Functions

 task_canceled (_In_z_ const char *_Message) throw ()
 Constructs a task_canceled object. More...
 
 task_canceled () throw ()
 Constructs a task_canceled object. More...
 
const char * what () const CPPREST_NOEXCEPT
 

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

pplx::task_canceled::task_canceled ( _In_z_ const char *  _Message)
throw (
)
inlineexplicit

Constructs a task_canceled object.

Parameters
_MessageA descriptive message of the error.
pplx::task_canceled::task_canceled ( )
throw (
)
inline

Constructs a task_canceled object.


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