The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.

ServiceBase.GlobalServiceExceptionThrown Event

Occurs when any operation of any ServiceBase instance fails.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public static event ServiceExceptionHandler GlobalServiceExceptionThrown
Public Shared Event GlobalServiceExceptionThrown As ServiceExceptionHandler
public static event ServiceExceptionHandler GlobalServiceExceptionThrown
Public Shared Event GlobalServiceExceptionThrown As ServiceExceptionHandler

Event Data

The GlobalServiceExceptionThrown event handler receives an argument of the ServiceExceptionEventArgs type. 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