Back to Devexpress

WcfServerModeSource.ExceptionThrown Event

corelibraries-devexpress-dot-data-dot-wcflinq-dot-wcfservermodesource-86efa30a.md

latest1.5 KB
Original Source

WcfServerModeSource.ExceptionThrown Event

Occurs when a data source exception is thrown.

Namespace : DevExpress.Data.WcfLinq

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

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 enables you to manually handle data source exceptions. The exception object can be obtained via the Exception property.

See Also

WcfServerModeSource Class

WcfServerModeSource Members

DevExpress.Data.WcfLinq Namespace