Share via


cancellation_token::deregister_callback Method

Unregisters a callback function that is invoked when the cancellation token is canceled.

void deregister_callback(
   const cancellation_token_registration& _Registration
) const;

Parameters

  • _Registration
    The cancellation_token_registration object returned from a prior call to the register_callback method.

Requirements

Header: ppl.h

Namespace: concurrency

See Also

Reference

cancellation_token Class