System.Runtime.InteropServices.WindowsRuntime.EventRegistrationTokenTable<T> Class

Stores mappings between delegates and event tokens, to support the implementation of a wrt event in managed code.

See Also: EventRegistrationTokenTable<T> Members

Syntax

public sealed class EventRegistrationTokenTable<T>
where T : class

Type Parameters

T
Documentation for this section has not yet been entered.

Remarks

Use this type when you need to manage the addition and removal of events manually.

An instance of this table stores the delegates that represent the event handlers that have been added to an event. To raise the event, invoke the delegate that is returned by the EventRegistrationTokenTable`1.InvocationList property, if it is not null. An instance of this table is required for each event.

Requirements

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