ServiceBase.ServiceExceptionThrown Event

Occurs when any operation of ServiceBase fails.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

public event ServiceExceptionHandler ServiceExceptionThrown
Public Event ServiceExceptionThrown As ServiceExceptionHandler

Event Data

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

Property Description
Exception Gets the exception thrown by the service.

Remarks

This event occurs when an exception is thrown when performing any of methods. The ServiceExceptionEventArgs.Exception parameter allows you to identify the current exception.

See Also