Freigeben über


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.

class cancellation_token_registration;

Member

Öffentliche Konstruktoren

Name

Beschreibung

cancellation_token_registration::cancellation_token_registration-Konstruktor

cancellation_token_registration::~cancellation_token_registration-Destruktor

Öffentliche Operatoren

Name

Beschreibung

cancellation_token_registration::operator!=-Operator

cancellation_token_registration::operator=-Operator

cancellation_token_registration::operator==-Operator

Vererbungshierarchie

cancellation_token_registration

Anforderungen

Header: pplcancellation_token.h

Namespace: Parallelität

Siehe auch

Referenz

concurrency-Namespace