Skip to main content
A newer version of this page is available. .

ODataServerModeSource.ExceptionThrown Event

Occurs when the data source exception is thrown.

Namespace: DevExpress.Data.ODataLinq

Assembly: DevExpress.Data.v20.2.dll

NuGet Packages: DevExpress.Data, DevExpress.WindowsDesktop.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