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