System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken Structure

A token that is returned when an event handler is added to a wrt event. The token is used to remove the event handler from the event at a later time.

See Also: EventRegistrationToken Members


public struct EventRegistrationToken


Use the System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken structure only if you use native wrt techniques to add and remove event handlers for wrt events. If you use the syntax that is provided by the C# or Visual Basic languages to add and remove event handlers, System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken is an implementation detail handled by the compilers.


Namespace: System.Runtime.InteropServices.WindowsRuntime
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: