cancellation_token_registration-Klasse

Die cancellation_token_registration-Klasse stellt eine Rückrufbenachrichtigung von cancellation_token dar. Bei Verwendung der register-Methode auf cancellation_token zum Empfangen von Benachrichtigungen darüber, wann ein Abbruch auftritt, wird ein cancellation_token_registration-Objekt als Handle an den Rückruf zurückgegeben, damit der Aufrufer mithilfe der deregister-Methode anfordern kann, dass ein bestimmter Rückruf nicht mehr erfolgt.

Syntax

class cancellation_token_registration;

Member

Öffentliche Konstruktoren

Name Beschreibung
cancellation_token_registration
~cancellation_token_registration Destruktor

Öffentliche Operatoren

Name Beschreibung
operator!=
operator=
operator==

Vererbungshierarchie

cancellation_token_registration

Anforderungen

Kopfzeile: pplcancellation_token.h

Namespace: Parallelität

~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);

Parameter

_Src
Die cancellation_token_registration zu kopierende oder zu verschiebende Datei.

operator!=

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

Parameter

_Rhs
Das zu vergleichende cancellation_token_registration-Element.

Rückgabewert

operator =

cancellation_token_registration& operator= (const cancellation_token_registration& _Src);

cancellation_token_registration& operator= (cancellation_token_registration&& _Src);

Parameter

_Src
Der cancellation_token_registration zugewiesen werden soll.

Rückgabewert

operator==

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

Parameter

_Rhs
Das zu vergleichende cancellation_token_registration-Element.

Rückgabewert

Siehe auch

Concurrency-Namespace