Back to Devexpress

XPServerCollectionSource.ServerExceptionThrown Event

xpo-devexpress-dot-xpo-dot-xpservercollectionsource-b2285051.md

latest1.9 KB
Original Source

XPServerCollectionSource.ServerExceptionThrown Event

Fires when a data server throws an exception.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public event ServerExceptionThrownEventHandler ServerExceptionThrown
vb
Public Event ServerExceptionThrown As ServerExceptionThrownEventHandler

Event Data

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

PropertyDescription
ActionGets or sets how the data server exception is to be handled in Server Mode.
ExceptionGets 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

XPServerCollectionSource Class

XPServerCollectionSource Members

DevExpress.Xpo Namespace