[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides a method that handles events that have no event data.
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
'Declaration Public Delegate Sub EventHandler ( _ sender As Object, _ e As EventArgs _ )
public delegate void EventHandler( Object sender, EventArgs e )
public delegate void EventHandler( Object^ sender, EventArgs^ e )
type EventHandler = delegate of sender:Object * e:EventArgs -> unit
JScript does not support delegates.
Type: System. . :: . .Object
The sender (source) of the event.
Type: Microsoft.SPOT. . :: . .EventArgs
A parameter that contains no event data.
The standard signature of an event handler delegate defines a method that does not return a value, whose first parameter is an object referring to the instance that raises the event, and whose second parameter is an EventArgs object that holds the event data. If the event does not generate event data, the second parameter is an empty EventArgs object. Note that the EventHandler delegate is a predefined delegate that specifically represents an event handler method for an event that does not generate data.