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 <pplcancellation_token.h>
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. 
 
  
  
      
        
          | Concurrency::cancellation_token_registration::cancellation_token_registration  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
details::_CancellationTokenRegistration * _M_pRegistration
Definition: pplcancellation_token.h:607
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | Concurrency::cancellation_token_registration::~cancellation_token_registration  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
void _Clear()
Definition: pplcancellation_token.h:583
 
 
 
 
_In_ size_t _Out_opt_ int _In_z_ unsigned char const * _Src
Definition: mbstring.h:1039
 
void _Assign(_In_ details::_CancellationTokenRegistration *_PRegistration)
Definition: pplcancellation_token.h:592
 
 
 
 
void _Move(_In_ details::_CancellationTokenRegistration *&_PRegistration)
Definition: pplcancellation_token.h:601
 
_In_ size_t _Out_opt_ int _In_z_ unsigned char const * _Src
Definition: mbstring.h:1039
 
 
 
 
details::_CancellationTokenRegistration * _M_pRegistration
Definition: pplcancellation_token.h:607
 
 
 
 
  594         if (_PRegistration != 
NULL)
 
  596             _PRegistration->_Reference();
 
details::_CancellationTokenRegistration * _M_pRegistration
Definition: pplcancellation_token.h:607
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | void Concurrency::cancellation_token_registration::_Clear  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineprivate   | 
  
 
long _Release()
Definition: pplcancellation_token.h:73
 
details::_CancellationTokenRegistration * _M_pRegistration
Definition: pplcancellation_token.h:607
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  604         _PRegistration = 
NULL;
 
details::_CancellationTokenRegistration * _M_pRegistration
Definition: pplcancellation_token.h:607
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
bool operator==(const cancellation_token_registration &_Rhs) const 
Definition: pplcancellation_token.h:564
 
 
 
 
void _Clear()
Definition: pplcancellation_token.h:583
 
_In_ size_t _Out_opt_ int _In_z_ unsigned char const * _Src
Definition: mbstring.h:1039
 
void _Assign(_In_ details::_CancellationTokenRegistration *_PRegistration)
Definition: pplcancellation_token.h:592
 
 
 
 
void _Move(_In_ details::_CancellationTokenRegistration *&_PRegistration)
Definition: pplcancellation_token.h:601
 
void _Clear()
Definition: pplcancellation_token.h:583
 
_In_ size_t _Out_opt_ int _In_z_ unsigned char const * _Src
Definition: mbstring.h:1039
 
 
 
 
details::_CancellationTokenRegistration * _M_pRegistration
Definition: pplcancellation_token.h:607
 
 
 
 
The documentation for this class was generated from the following file: