Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Constructs a cancellation_token_source object.
cancellation_token_source();
cancellation_token_source(
const cancellation_token_source& _Src
);
cancellation_token_source(
cancellation_token_source&& _Src
);
Parameters
- _Src
The source cancellation_token object that copy or move from.
Remarks
The default constructor creates a new token source with no linked cancellation tokens.
As cancellation_token_source behaves like a smart pointer, after a copy construction, the new object represents the same token source as _Src does.
Requirements
Header: ppl.h
Namespace: concurrency