ThreadWorker Cleanup Method CleanCode C# Libraries v1.2.03 API
Tells the ThreadManager that this background task is complete.

Namespace: CleanCode.Threading
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public void Cleanup()
Remarks

Calls the ThreadManager's routine DecrThreadCount(String) for this thread. This must be called from the main thread, not worker threads, typically in the UpdateResults  method, during the course of your normal processing loop. Also see CleanupDueToAbort  for handling user-initiated abort.
See Also