CSharpTest.Net
WorkQueue<T> Class Members
See Also  Methods  Events Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Threading Namespace : WorkQueue<T> Class


Glossary Item Box

The following tables list the members exposed by WorkQueue<T>.

Public Constructors

 NameDescription
Public ConstructorWorkQueue<T> ConstructorConstructs the Work Queue with the specified number of threads.  
Top

Public Methods

 NameDescription
Public MethodCompleteWaits 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.  
Public MethodEnqueueEnqueues a task  
Top

Public Events

 NameDescription
Public EventOnErrorRaised when a task fails to handle an error  
Top

See Also

Generated with Document! X 2011 by Innovasys