.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

XPServerCollectionSource.ServerExceptionThrown Event

Fires when a data server throws an exception.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public event ServerExceptionThrownEventHandler ServerExceptionThrown
Public Event ServerExceptionThrown As ServerExceptionThrownEventHandler

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