Skip to main content

ServiceBase.GlobalServiceExceptionThrown Event

Occurs when any operation of any ServiceBase instance fails.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public static event ServiceExceptionHandler GlobalServiceExceptionThrown

#Event Data

The GlobalServiceExceptionThrown 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 by any service method. The ServiceExceptionEventArgs.Exception parameter allows you to identify the current exception.

See Also