Tells the
ThreadManager that this
background task is complete due to a user-initiated abort.
Namespace: CleanCode.ThreadingAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
public void CleanupDueToAbort()
public void CleanupDueToAbort()
Public Sub CleanupDueToAbort
Public Sub CleanupDueToAbort
public:
void CleanupDueToAbort()
public:
void CleanupDueToAbort()
Typically
Cleanup should be called in the
normal processing loop while
CleanupDueToAbort should
be used in a specific check for a user-initiated abort,
as in:
if (threadManager.AbortRequested) { CleanupDueToAbort(); return true; }
if (threadManager.AbortRequested) { CleanupDueToAbort(); return true; }