Skip to main content

AppointmentExchanger.OnException Event

Occurs if an exception is raised during the export/import process.

Namespace: DevExpress.XtraScheduler.Exchange

Assembly: DevExpress.XtraScheduler.v14.2.Core.dll

#Declaration

public event ExchangeExceptionEventHandler OnException

#Event Data

The OnException event's handler receives an argument of the ExchangeExceptionEventArgs type. The following properties provide information specific to this event:

Property Description
Handled Gets or sets whether an event was handled. If it was handled, the exception is not propagated.
OriginalException Provides access to a .NET exception which originated this event.

#Remarks

Handle the OnException event to intercept exceptions thrown during export/import processes started by the AppointmentExporter.Export or AppointmentImporter.Import methods. When necessary, you can terminate the process by calling the AppointmentExchanger.Terminate method.

See Also