Share via


EventHandler Delegate

Provides a method that handles events that have no event data.

Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public delegate void EventHandler (
         Objectsender,
         EventArgse
)

Parameters

  • sender
    The sender (source) of the event.
  • e
    A parameter that contains no event data.

Remarks

The standard signature of an event handler delegate defines a method that does not return a value, whose first parameter is an Object 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.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Microsoft.SPOT Namespace