Back to Devexpress

LinqServerModeDataSource.ExceptionThrown Event

aspnet-devexpress-dot-data-dot-linq-dot-linqservermodedatasource-bbb4ccc0.md

latest1.5 KB
Original Source

LinqServerModeDataSource.ExceptionThrown Event

Enables you to manually handle the database exception.

Namespace : DevExpress.Data.Linq

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

PropertyDescription
ExceptionGets the exception that caused the event.

Remarks

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

See Also

LinqServerModeDataSource Class

LinqServerModeDataSource Members

DevExpress.Data.Linq Namespace