Table of Contents

Delegate EventHandler

Namespace
System
Assembly
mscorlib.dll

Represents the method that will handle an event that has no event data.

public delegate void EventHandler(object sender, EventArgs e)

Parameters

sender object

The source of the event.

e EventArgs

An object that contains no event data.

Extension Methods

Constructors

EventHandler(object, IntPtr)

public EventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, EventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, EventArgs e, AsyncCallback callback, object @object)

Parameters

sender object
e EventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, EventArgs)

public virtual void Invoke(object sender, EventArgs e)

Parameters

sender object
e EventArgs