Method StopThread
StopThread(ThreadProc, bool)
Aborts executing action in thread.
public virtual void StopThread(ThreadProc action, bool discard = false)
Parameters
action
ThreadProcSpecifies action to abort.
discard
boolSpecifies that action needs to be discarded.