.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

XPServerCollectionSource.ServerExceptionThrown Event

Fires when a data server throws an exception.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll


public event ServerExceptionThrownEventHandler ServerExceptionThrown
Public Event ServerExceptionThrown As ServerExceptionThrownEventHandler

Event Data

The ServerExceptionThrown event's handler receives an argument of the ServerExceptionThrownEventArgs type. 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.


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