cancellation_token_registration 类
cancellation_token_registration 类表示来自 cancellation_token 的回调通知。 如果 cancellation_token 上的 register 方法用于接收取消何时发生的通知,系统就会将 cancellation_token_registration 对象作为回调的句柄返回,让调用方可以请求不再通过使用 deregister 方法实现的特定回调。
class cancellation_token_registration;
成员
公共构造函数
名称 |
描述 |
---|---|
cancellation_token_registration::cancellation_token_registration 构造函数 |
|
cancellation_token_registration::~cancellation_token_registration 析构函数 |
公共运算符
名称 |
描述 |
---|---|
继承层次结构
cancellation_token_registration
要求
**标头:**pplcancellation_token.h
**命名空间:**并发