A newer version of this page is available. Switch to the current version.

LinqServerModeDataSource.ExceptionThrown Event

Enables you to manually handle the database exception.

Namespace: DevExpress.Data.Linq

Assembly: DevExpress.Web.v18.2.dll


public event EventHandler<ServerModeExceptionThrownEventArgs> ExceptionThrown
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:

Property Description
Exception Gets the exception that caused the event.


The ExceptionThrown event is raised when the database exception has been thrown.

See Also