Method StopThread
StopThread(ThreadProc, bool)
Aborts executing action in thread.
public virtual void StopThread(ThreadProc action, bool wait)
Parameters
action
ThreadProcSpecifies action to abort.
wait
boolSpecifies whether calling application should wait for background thread to finish execution.