cancellation_token_source::cancellation_token_source 建構函式

建構新的 cancellation_token_source。 來源可用於將某個可取消作業的取消加上標幟。

cancellation_token_source();

cancellation_token_source(
   const cancellation_token_source& _Src
);

cancellation_token_source(
   cancellation_token_source&& _Src
);

參數

  • _Src

需求

標頭: pplcancellation_token.h

**命名空間:**concurrency

請參閱

參考

cancellation_token_source 類別