次の方法で共有


cancellation_token_registration クラス

cancellation_token_registration クラスは、cancellation_token からのコールバック通知を表します。 cancellation_tokenregister メソッドを使用して取り消し発生の通知を受け取るとき、cancellation_token_registration オブジェクトはハンドルとしてコールバックに返されます。したがって、呼び出し元は deregister メソッドを使用して、特定のコールバックが以降行われないように要求できます。

class cancellation_token_registration;

メンバー

パブリック コンストラクター

名前

説明

cancellation_token_registration::cancellation_token_registration コンストラクター

cancellation_token_registration::~cancellation_token_registration デストラクター

パブリック演算子

名前

説明

cancellation_token_registration::operator!= 演算子

cancellation_token_registration::operator= 演算子

cancellation_token_registration::operator== 演算子

継承階層

cancellation_token_registration

必要条件

ヘッダー: pplcancellation_token.h

名前空間: concurrency

参照

関連項目

concurrency 名前空間