Skip to main content
.NET 6.0+

XPServerCollectionSource.ServerExceptionThrown Event

Fires when a data server throws an exception.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.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

Handle this event to respond to an exception being thrown by a data server. The Exception parameter allows you to identify the current exception. To respond to the exception use the Action parameter.

See Also