Mono Class Library: System.Reflection NamespaceSystem.Reflection.EventInfo Class |
See Also: EventInfo Members
System.Object
System.Reflection.MemberInfo
System.Reflection.EventInfo
|
This type is safe for multithreaded operations.
Events are handled by delegates. An event listener supplies an event-handler delegate that is invoked whenever the event is raised by an event source. In order to connect to the event source, the event listener adds this delegate to the invocation list of the source. When the event is raised, the event-handler delegate invokes the methods in its invocation list. The EventInfo.GetAddMethod, EventInfo.AddEventHandler(object, Delegate) , EventInfo.GetRemoveMethod, and EventInfo.RemoveEventHandler(object, Delegate) methods, and the delegate type of the event-handler associated with an event, are required to be marked in the metadata.
Note: For information on delegates, see the Delegate class overview.Note: For information on events, see Partitions I and II of the CLI specification.[Edit]
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0