C# Class DotNetWorkQueue.Queue.AbortWorkerThread

Aborts a thread, if configured to do so. Otherwise, no actions are taken.
Inheritance: IAbortWorkerThread
显示文件 Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Abort ( Thread workerThread ) : bool

Aborts the specified worker thread, if configured to do so.

AbortWorkerThread ( IWorkerConfiguration configuration, MessageProcessingMode messageMode ) : System.Threading

Initializes a new instance of the AbortWorkerThread class.

Method Details

Abort() public method

Aborts the specified worker thread, if configured to do so.
public Abort ( Thread workerThread ) : bool
workerThread System.Threading.Thread The worker thread.
return bool

AbortWorkerThread() public method

Initializes a new instance of the AbortWorkerThread class.
public AbortWorkerThread ( IWorkerConfiguration configuration, MessageProcessingMode messageMode ) : System.Threading
configuration IWorkerConfiguration The configuration.
messageMode MessageProcessingMode The message mode.
return System.Threading