Skip to main content
.NET 8.0+

XPServerModeView.ServerExceptionThrown Event

Occurs when a data server throws an exception.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public event ServerExceptionThrownEventHandler ServerExceptionThrown

#Event Data

The ServerExceptionThrown event's data class is ServerExceptionThrownEventArgs. The following properties provide information specific to this event:

Property Description
Action Gets or sets how the data server exception is to be handled in Server Mode.
Exception Gets the exception thrown by a data server in Server Mode.

#Remarks

Hadle this event to respond to an exception thrown by a data server. Use the Exception parameter to identify the current exception. Use the Action parameter to respond to the exception.

See Also