Table of Contents

Event ExceptionThrown

Namespace
ComfileTech.Cfnet.Cfheader
Assembly
ComfileTech.Cfnet.Cfheader.dll

Raised on the background thread when background synchronization fails.

public event TypedEventHandler<BackgroundSync, Exception>? ExceptionThrown

Returns

TypedEventHandler<BackgroundSync, Exception>
Raised on the background thread when background synchronization fails.

Remarks

The synchronization loop stops after the error. Catch exceptions inside this handler. Schedule recovery on another thread: call Close(), Open(), and then Start(). Do not call Stop() or Close() in this handler, because they wait for the background thread to finish.