Represents the method of an event that has a piece of data.

Namespace: System.Extensions
Assembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)

Syntax

C#
public delegate void DataEventHandler<T>(
	Object sender,
	DataEventArgs<T> e
)
Visual Basic
Public Delegate Sub DataEventHandler(Of T) ( 
	sender As Object,
	e As DataEventArgs(Of T)
)
Visual C++
generic<typename T>
public delegate void DataEventHandler(
	Object^ sender, 
	DataEventArgs<T>^ e
)
F#
type DataEventHandler = 
    delegate of 
        sender : Object * 
        e : DataEventArgs<'T> -> unit

Parameters

sender
Type: System..::..Object
The source of the event.
e
Type: System.Extensions..::..DataEventArgs<(Of <(<'T>)>)>
The event arguments with attached data.

Type Parameters

T
The type of the data attached to the event.

See Also