Back to Devexpress

ODataServerModeSource.ExceptionThrown Event

corelibraries-devexpress-dot-data-dot-odatalinq-dot-odataservermodesource-6eb23c92.md

latest1.6 KB
Original Source

ODataServerModeSource.ExceptionThrown Event

Occurs when the data source exception is thrown.

Namespace : DevExpress.Data.ODataLinq

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public event EventHandler<ServerModeExceptionThrownEventArgs> ExceptionThrown
vb
Public Event ExceptionThrown As EventHandler(Of ServerModeExceptionThrownEventArgs)

Event Data

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

PropertyDescription
ExceptionGets 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

ODataServerModeSource Class

ODataServerModeSource Members

DevExpress.Data.ODataLinq Namespace