C# Класс DotNetWorkQueue.Queue.StopThread

Stops a thread by aborting it if configured to do; otherwise it will wait (forever if needed) until the thread dies.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
StopThread ( IAbortWorkerThread abortWorkerThread, WaitForThreadToFinish waitForThreadToFinish ) : System.Threading

Initializes a new instance of the StopThread class.

TryForceTerminate ( Thread workerThread ) : bool

Stops a thread by aborting it if configured to do; otherwise it will wait (forever if needed) until the thread dies.

Описание методов

StopThread() публичный Метод

Initializes a new instance of the StopThread class.
public StopThread ( IAbortWorkerThread abortWorkerThread, WaitForThreadToFinish waitForThreadToFinish ) : System.Threading
abortWorkerThread IAbortWorkerThread The abort worker thread.
waitForThreadToFinish WaitForThreadToFinish The wait for thread to finish.
Результат System.Threading

TryForceTerminate() публичный Метод

Stops a thread by aborting it if configured to do; otherwise it will wait (forever if needed) until the thread dies.
public TryForceTerminate ( Thread workerThread ) : bool
workerThread System.Threading.Thread The worker thread.
Результат bool