Skip to content

Latest commit

 

History

History
110 lines (71 loc) · 2.71 KB

File metadata and controls

110 lines (71 loc) · 2.71 KB
description Learn more about: cancellation_token_registration Class
title cancellation_token_registration Class
ms.date 11/04/2016
f1_keywords
cancellation_token_registration
PPLCANCELLATION_TOKEN/concurrency::cancellation_token_registration
PPLCANCELLATION_TOKEN/concurrency::cancellation_token_registration::cancellation_token_registration
helpviewer_keywords
cancellation_token_registration class
ms.assetid 823d63f4-7233-4d65-8976-6152ccf12d0e

cancellation_token_registration Class

The cancellation_token_registration class represents a callback notification from a cancellation_token. When the register method on a cancellation_token is used to receive notification of when cancellation occurs, a cancellation_token_registration object is returned as a handle to the callback so that the caller can request a specific callback no longer be made through use of the deregister method.

Syntax

class cancellation_token_registration;

Members

Public Constructors

Name Description
cancellation_token_registration
~cancellation_token_registration Destructor

Public Operators

Name Description
operator!=
operator=
operator==

Inheritance Hierarchy

cancellation_token_registration

Requirements

Header: pplcancellation_token.h

Namespace: concurrency

~cancellation_token_registration

~cancellation_token_registration();

cancellation_token_registration

cancellation_token_registration();

cancellation_token_registration(const cancellation_token_registration& _Src);

cancellation_token_registration(cancellation_token_registration&& _Src);

Parameters

_Src
The cancellation_token_registration to copy or move.

operator!=

bool operator!= (const cancellation_token_registration& _Rhs) const;

Parameters

_Rhs
The cancellation_token_registration to compare.

Return Value

operator=

cancellation_token_registration& operator= (const cancellation_token_registration& _Src);

cancellation_token_registration& operator= (cancellation_token_registration&& _Src);

Parameters

_Src
The cancellation_token_registration to assign.

Return Value

operator==

bool operator== (const cancellation_token_registration& _Rhs) const;

Parameters

_Rhs
The cancellation_token_registration to compare.

Return Value

See also

concurrency Namespace