Share via


cancellation_token::cancellation_token Constructor

Constructs a cancellation_token object.

cancellation_token(
   const cancellation_token& _Src
);

cancellation_token(
   cancellation_token&& _Src
);

Parameters

  • _Src
    The source cancellation_token object.

Remarks

As cancellation_token behaves like a smart pointer, after a copy construction, this object represents the same internal object as _Src does.

Requirements

Header: ppl.h

Namespace: concurrency

See Also

Reference

cancellation_token Class