cancellation_token_source::cancellation_token_source Constructor

Constructs a new cancellation_token_source. The source can be used to flag cancellation of some cancelable operation.

cancellation_token_source();

cancellation_token_source(
   const cancellation_token_source& _Src
);

cancellation_token_source(
   cancellation_token_source&& _Src
);

Parameters

  • _Src

Requirements

Header: pplcancellation_token.h

Namespace: concurrency

See Also

Reference

cancellation_token_source Class