The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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;


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.

Header: pplcancellation_token.h

Namespace: concurrency

© 2014 Microsoft