Represents the method of a cancellable 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 DataCancelEventHandler<T>(
	Object sender,
	DataCancelEventArgs<T> e
)
Visual Basic
Public Delegate Sub DataCancelEventHandler(Of T) ( 
	sender As Object,
	e As DataCancelEventArgs(Of T)
)
Visual C++
generic<typename T>
public delegate void DataCancelEventHandler(
	Object^ sender, 
	DataCancelEventArgs<T>^ e
)
F#
type DataCancelEventHandler = 
    delegate of 
        sender : Object * 
        e : DataCancelEventArgs<'T> -> unit

Parameters

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

Type Parameters

T
The type of the data attached to the event.

See Also