Back to Devexpress

LinqServerModeSource.ExceptionThrown Event

corelibraries-devexpress-dot-data-dot-linq-dot-linqservermodesource-a8e23a56.md

latest1.6 KB
Original Source

LinqServerModeSource.ExceptionThrown Event

Enables you to manually handle the database exception.

Namespace : DevExpress.Data.Linq

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public event LinqServerModeExceptionThrownEventHandler ExceptionThrown
vb
Public Event ExceptionThrown As LinqServerModeExceptionThrownEventHandler

Event Data

The ExceptionThrown event's data class is LinqServerModeExceptionThrownEventArgs. The following properties provide information specific to this event:

PropertyDescription
ExceptionGets 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

LinqServerModeSource Class

LinqServerModeSource Members

DevExpress.Data.Linq Namespace