Share via


<PAVE_OVER> cancellation_token_registration 類別 (C++ REST SDK)

cancellation_token_registration 類別表示來自 cancellation_token 的回呼通知。 當 cancellation_tokenregister 方法用來接收發生取消的通知時,則會傳回 cancellation_token_registration 物件做為回呼的控制代碼,讓呼叫端可以要求不再透過使用 deregister 方法發出的特定回呼。

class cancellation_token_registration;

成員

JJ948496.collapse_all(zh-tw,VS.140).gif公用建構函式

名稱

說明

<PAVE_OVER> cancellation_token_registration::cancellation_token_registration 建構函式 (C++ REST SDK)

<PAVE_OVER> cancellation_token_registration::~cancellation_token_registration 解構函式 (C++ REST SDK)

JJ948496.collapse_all(zh-tw,VS.140).gif公用運算子

名稱

說明

<PAVE_OVER> cancellation_token_registration::operator!= 運算子 (C++ REST SDK)

<PAVE_OVER> cancellation_token_registration::operator= 運算子 (C++ REST SDK)

<PAVE_OVER> cancellation_token_registration::operator== 運算子 (C++ REST SDK)

需求

**標頭:**cancellation_token.h

**命名空間:**pplx

請參閱

參考

pplx 命名空間