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

ServiceBase.ServiceExceptionThrown Event

Occurs when any operation of ServiceBase fails.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public event ServiceExceptionHandler ServiceExceptionThrown
Public Event ServiceExceptionThrown As ServiceExceptionHandler
public event ServiceExceptionHandler ServiceExceptionThrown
Public Event ServiceExceptionThrown As ServiceExceptionHandler

Event Data

The ServiceExceptionThrown 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 when performing any of methods. The ServiceExceptionEventArgs.Exception parameter allows you to identify the current exception.

See Also