Skip to content

Latest commit

 

History

History
70 lines (58 loc) · 1.76 KB

ns-eventtoken-eventregistrationtoken.md

File metadata and controls

70 lines (58 loc) · 1.76 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:eventtoken.EventRegistrationToken
EventRegistrationToken (eventtoken.h)
Identifies an event handler that has been registered with an event source.
EventRegistrationToken
EventRegistrationToken structure [Windows Runtime]
eventtoken/EventRegistrationToken
winrt.eventregistrationtoken
winrt\eventregistrationtoken.htm
WinRT
A98FE485-B3D8-4CD5-950F-765939F4672B
12/05/2018
EventRegistrationToken, EventRegistrationToken structure [Windows Runtime], eventtoken/EventRegistrationToken, winrt.eventregistrationtoken
eventtoken.h
Windows
Windows 8
Windows Server 2012
Eventtoken.idl
Windows
EventRegistrationToken
19H1
EventRegistrationToken
eventtoken/EventRegistrationToken
c++
APIRef
kbSyntax
HeaderDef
eventtoken.h
EventRegistrationToken

EventRegistrationToken structure (eventtoken.h)

-description

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

-struct-fields

-field 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.

-see-also

IEventHandler<T> interface