EntityServerModeSource.ExceptionThrown Event

Enables you to manually handle the database exception.

Namespace: DevExpress.Data.Linq

Assembly: DevExpress.Data.v20.2.dll

Declaration

public event LinqServerModeExceptionThrownEventHandler ExceptionThrown
Public Event ExceptionThrown As LinqServerModeExceptionThrownEventHandler

Event Data

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

Property Description
Exception Gets the database exception.

Remarks

The ExceptionThrown event is raised when the database exception has been thrown. The exception can be obtained via the LinqServerModeExceptionThrownEventArgs.Exception property.

See Also