Back to Devexpress

ExceptionEventHandler Delegate

windowsforms-devexpress-dot-xtraeditors-dot-controls-8d00e8a0.md

latest1.7 KB
Original Source

ExceptionEventHandler Delegate

Represents the method for handling events which take an ExceptionEventArgs object as a parameter.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public delegate void ExceptionEventHandler(
    object sender,
    ExceptionEventArgs e
);
vb
Public Delegate Sub ExceptionEventHandler(
    sender As Object,
    e As ExceptionEventArgs
)

Parameters

NameTypeDescription
senderObject

The source of the event.

| | e | ExceptionEventArgs |

A ExceptionEventArgs object that contains event data.

|

Remarks

When creating a ExceptionEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs unless you remove the delegate. For more information on event handler delegates, see Events and Delegates in MSDN.

See Also

DevExpress.XtraEditors.Controls Namespace