Back to Devexpress

ExceptionEventHandler Delegate

corelibraries-devexpress-dot-xtraprinting-715d232d.md

latest1.6 KB
Original Source

ExceptionEventHandler Delegate

A method that will handle the ExceptionEventArgs.Exception event.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

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

Parameters

NameTypeDescription
senderObject

The event sender.

| | args | ExceptionEventArgs |

An ExceptionEventArgs object that contains data related to the event.

|

Remarks

When creating a ExceptionEventHandler delegate, identify a method that will handle corresponding events. To associate an event with an event handler, add a delegate instance to the event. The event handler is called whenever the event occurs, unless the delegate is removed.

For more information on event handler delegates, see Events and Delegates in MSDN.

See Also

DevExpress.XtraPrinting Namespace