cancellation_token_registration Class
Collapse the table of content
Expand the table of content

cancellation_token_registration Class


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.

class cancellation_token_registration;



Header: pplcancellation_token.h

Namespace: concurrency

© 2016 Microsoft