LinqServerModeDataSource.ExceptionThrown Event

Enables you to manually handle the database exception.

Namespace: DevExpress.Data.Linq

Assembly: DevExpress.Web.v20.1.dll

Declaration

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.

Remarks

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

See Also