Back to Devexpress

EntityServerModeSource.ExceptionThrown Event

corelibraries-devexpress-dot-data-dot-linq-dot-entityservermodesource-453e2dd5.md

latest1.6 KB
Original Source

EntityServerModeSource.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

EntityServerModeSource Class

EntityServerModeSource Members

DevExpress.Data.Linq Namespace