Share via


cancellation_token_registration::cancellation_token_registration Constructor

Constructs a cancellation_token_registration object.

cancellation_token_registration();

cancellation_token_registration(
   const cancellation_token_registration& _Src
);

cancellation_token_registration(
   cancellation_token_registration&& _Src
);

Parameters

  • _Src
    The source cancellation_token_registration object.

Remarks

The default constructor creates an empty cancellation_token_registration object, which is not valid until it is copied to or assigned from a different valid cancellation_token_registration.

As cancellation_token_registration behaves like a smart pointer, after a copy construction, this objects represents the same actual registration as _Src.

Requirements

Header: ppl.h

Namespace: concurrency

See Also

Reference

cancellation_token_registration Class