cancellation_token::deregister_callback Method
Removes a callback previously registered via the register method based on the cancellation_token_registration object returned at the time of registration.
void deregister_callback(
const cancellation_token_registration& _Registration
) const;
Parameters
- _Registration
The cancellation_token_registration object corresponding to the callback to be deregistered. This token must have been previously returned from a call to the register method.
Requirements
Header: pplcancellation_token.h
Namespace: concurrency