LinqServerModeSource.ExceptionThrown Event

Enables you to manually handle the database exception.

Namespace: DevExpress.Data.Linq

Assembly: DevExpress.Data.v19.2.dll

Declaration

public event LinqServerModeExceptionThrownEventHandler ExceptionThrown
Public Event ExceptionThrown As LinqServerModeExceptionThrownEventHandler

Event Data

The ExceptionThrown event handler receives an argument of the LinqServerModeExceptionThrownEventArgs type. 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