Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventRegistrationToken structure

Identifies an event handler that has been registered with an event source.

Syntax


typedef struct EventRegistrationToken {
  INT64 value;
} EventRegistrationToken;

Members

value

Type: INT64

An identifying value that is provided by an event source.

Remarks

Use an EventRegistrationToken to unsubscribe from a Windows Runtime event source.

You acquire an EventRegistrationToken when you subscribe to an event.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Eventtoken.h

IDL

Eventtoken.idl

See also

IEventHandler<T>
ITypedEventHandler<TSender, TArgs>

 

 

Show: