Skip to main content

ServiceBase.ServiceExceptionThrown Event

Occurs when any operation of ServiceBase fails.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public event ServiceExceptionHandler ServiceExceptionThrown

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