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 | Friends | List of all members
pplx::cancellation_token_registration Class Reference

The cancellation_token_registration class represents a callback notification from a cancellation_token. When the register method on a cancellation_token is used to receive notification of when cancellation occurs, a cancellation_token_registration object is returned as a handle to the callback so that the caller can request a specific callback no longer be made through use of the deregister method. More...

#include <pplxcancellation_token.h>

Public Member Functions

 cancellation_token_registration (const cancellation_token_registration &_Src)
 
 cancellation_token_registration (cancellation_token_registration &&_Src)
 
cancellation_token_registrationoperator= (const cancellation_token_registration &_Src)
 
cancellation_token_registrationoperator= (cancellation_token_registration &&_Src)
 
bool operator== (const cancellation_token_registration &_Rhs) const
 
bool operator!= (const cancellation_token_registration &_Rhs) const
 

Friends

class cancellation_token
 

Detailed Description

The cancellation_token_registration class represents a callback notification from a cancellation_token. When the register method on a cancellation_token is used to receive notification of when cancellation occurs, a cancellation_token_registration object is returned as a handle to the callback so that the caller can request a specific callback no longer be made through use of the deregister method.


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