构造一个新的 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
**命名空间:**并发