Represents the base class for classes that contain event data, and provides a value to use for events that do not include event data.
See Also: EventArgs Members
This class serves as the base class for all classes that represent event data. For example, the AssemblyLoadEventArgs class derives from EventArgs and is used to hold the data for assembly load events. To create a custom event data class, create a class that derives from the EventArgs class and provide the properties to store the necessary data. The name of your custom event data class should end with EventArgs.
To pass an object that does not contain any data, use the EventArgs.Empty field.
For more information about events, see the Handling and Raising Events article.