Skip to main content

LinqServerModeSource.ExceptionThrown Event

Enables you to manually handle the database exception.

Namespace: DevExpress.Data.Linq

Assembly: DevExpress.Data.v24.2.dll

NuGet Package: DevExpress.Data

#Declaration

public event LinqServerModeExceptionThrownEventHandler ExceptionThrown

#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