The following tables list the members exposed by WorkQueue.
Name | Description | |
---|---|---|
WorkQueue Constructor | Constructs the Work Queue with the specified number of threads. |
Name | Description | |
---|---|---|
Complete | Waits for all executing tasks to complete and then exists all threads, If completePending is false no more tasks will begin, if true threads will continue to pick up tasks and run until the queue is empty. The timeout period is used to join each thread in turn, if the timeout expires that thread will be aborted. (Inherited from CSharpTest.Net.Threading.WorkQueue<Action>) | |
Enqueue | Overloaded. Enqueues a task with a parameter of type T |
Name | Description | |
---|---|---|
OnError | Raised when a task fails to handle an error (Inherited from CSharpTest.Net.Threading.WorkQueue<Action>) |
Reference
WorkQueue ClassCSharpTest.Net.Threading Namespace