Skip to main content

ODataServerModeSource.ExceptionThrown Event

Occurs when the data source exception is thrown.

Namespace: DevExpress.Data.ODataLinq

Assembly: DevExpress.Data.v24.2.dll

NuGet Package: DevExpress.Data

#Declaration

public event EventHandler<ServerModeExceptionThrownEventArgs> ExceptionThrown

#Event Data

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

Property Description
Exception Gets the exception that caused the event.

#Remarks

The ExceptionThrown event enables you to manually handle data source exceptions. The exception object can be obtained via the Exception property.

See Also