ProcessQueueT Methods

Methods

AddAdds an item to the ProcessQueueT.
AddRange Adds the elements of the specified collection to the end of the ProcessQueueT.
BinarySearch(T) Searches the entire sorted ProcessQueueT, using a binary search algorithm, for an element using the default comparer and returns the zero-based index of the element.
BinarySearch(T, IComparerT) Searches the entire sorted ProcessQueueT, using a binary search algorithm, for an element using the specified comparer and returns the zero-based index of the element.
BinarySearch(Int32, Int32, T, IComparerT) Searches a range of elements in the sorted ProcessQueueT, using a binary search algorithm, for an element using the specified comparer and returns the zero-based index of the element.
CanProcessItem Determines if an item can be processed.
CanProcessItems Determines if all items can be processed.
Clear Removes all elements from the ProcessQueueT.
Contains Determines whether an element is in the ProcessQueueT.
ConvertAllTOutputConverts the elements in the current ProcessQueueT to another type, and returns a ProcessQueueT containing the converted elements.
CopyToCopies the entire ProcessQueueT to a compatible one-dimensional array, starting at the beginning of the target array.
CreateAsynchronousQueue(ProcessQueueTProcessItemFunctionSignature) Creates a new asynchronous ProcessQueueT with the default settings: ProcessInterval = 100, MaximumThreads = 5, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateAsynchronousQueue(ProcessQueueTProcessItemsFunctionSignature) Creates a new asynchronous, bulk item ProcessQueueT with the default settings: ProcessInterval = 100, MaximumThreads = 5, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateAsynchronousQueue(ProcessQueueTProcessItemFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature) Creates a new asynchronous ProcessQueueT with the default settings: ProcessInterval = 100, MaximumThreads = 5, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateAsynchronousQueue(ProcessQueueTProcessItemFunctionSignature, Int32) Creates a new asynchronous ProcessQueueT with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateAsynchronousQueue(ProcessQueueTProcessItemsFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature) Creates a new asynchronous, bulk item ProcessQueueT with the default settings: ProcessInterval = 100, MaximumThreads = 5, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateAsynchronousQueue(ProcessQueueTProcessItemsFunctionSignature, Int32) Creates a new asynchronous, bulk item ProcessQueueT with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateAsynchronousQueue(ProcessQueueTProcessItemFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature, Int32) Creates a new asynchronous ProcessQueueT with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateAsynchronousQueue(ProcessQueueTProcessItemsFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature, Int32) Creates a new asynchronous, bulk item ProcessQueueT with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateAsynchronousQueue(ProcessQueueTProcessItemFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Creates a new asynchronous ProcessQueueT using specified settings.
CreateAsynchronousQueue(ProcessQueueTProcessItemsFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Creates a new asynchronous, bulk item ProcessQueueT using specified settings.
CreateAsynchronousQueue(ProcessQueueTProcessItemFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Creates a new asynchronous ProcessQueueT using specified settings.
CreateAsynchronousQueue(ProcessQueueTProcessItemsFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Creates a new asynchronous, bulk item ProcessQueueT using specified settings.
CreateRealTimeQueue(ProcessQueueTProcessItemFunctionSignature) Creates a new real-time ProcessQueueT with the default settings: ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateRealTimeQueue(ProcessQueueTProcessItemsFunctionSignature) Creates a new real-time, bulk item ProcessQueueT with the default settings: ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateRealTimeQueue(ProcessQueueTProcessItemFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature) Creates a new real-time ProcessQueueT with the default settings: ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateRealTimeQueue(ProcessQueueTProcessItemsFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature) Creates a new real-time, bulk item ProcessQueueT with the default settings: ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateRealTimeQueue(ProcessQueueTProcessItemFunctionSignature, Int32, Boolean, Boolean) Creates a new real-time ProcessQueueT using specified settings.
CreateRealTimeQueue(ProcessQueueTProcessItemsFunctionSignature, Int32, Boolean, Boolean) Creates a new real-time, bulk item ProcessQueueT using specified settings.
CreateRealTimeQueue(ProcessQueueTProcessItemFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature, Int32, Boolean, Boolean) Creates a new real-time ProcessQueueT using specified settings.
CreateRealTimeQueue(ProcessQueueTProcessItemsFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature, Int32, Boolean, Boolean) Creates a new real-time, bulk item ProcessQueueT using specified settings.
CreateSynchronousQueue(ProcessQueueTProcessItemFunctionSignature) Creates a new synchronous ProcessQueueT (i.e., single process thread) with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateSynchronousQueue(ProcessQueueTProcessItemsFunctionSignature) Creates a new synchronous, bulk item ProcessQueueT (i.e., single process thread) with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateSynchronousQueue(ProcessQueueTProcessItemFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature) Creates a new synchronous ProcessQueueT (i.e., single process thread) with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateSynchronousQueue(ProcessQueueTProcessItemsFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature) Creates a new synchronous, bulk item ProcessQueueT (i.e., single process thread) with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
CreateSynchronousQueue(ProcessQueueTProcessItemFunctionSignature, Double, Int32, Boolean, Boolean) Creates a new synchronous ProcessQueueT (i.e., single process thread) using specified settings.
CreateSynchronousQueue(ProcessQueueTProcessItemsFunctionSignature, Double, Int32, Boolean, Boolean) Creates a new synchronous, bulk item ProcessQueueT (i.e., single process thread) using specified settings.
CreateSynchronousQueue(ProcessQueueTProcessItemFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature, Double, Int32, Boolean, Boolean) Creates a new synchronous ProcessQueueT (i.e., single process thread) using specified settings.
CreateSynchronousQueue(ProcessQueueTProcessItemsFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature, Double, Int32, Boolean, Boolean) Creates a new synchronous, bulk item ProcessQueueT (i.e., single process thread) using specified settings.
DataAdded Notifies queue that data was added and/or modified, so it can begin processing data.
Dispose Releases all the resources used by the ProcessQueueT object.
Dispose(Boolean) Releases the unmanaged resources used by the ProcessQueueT object and optionally releases the managed resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
ExistsDetermines whether the ProcessQueueT contains elements that match the conditions defined by the specified predicate.
Finalize Releases the unmanaged resources before the ProcessQueueT object is reclaimed by GC.
(Overrides ObjectFinalize)
FindSearches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire ProcessQueueT.
FindAllRetrieves all elements that match the conditions defined by the specified predicate.
FindIndex(PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ProcessQueueT that extends from the specified index to the last element.
FindIndex(Int32, PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ProcessQueueT that extends from the specified index to the last element.
FindIndex(Int32, Int32, PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ProcessQueueT that extends from the specified index to the last element.
FindLastSearches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire ProcessQueueT.
FindLastIndex(PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire ProcessQueueT.
FindLastIndex(Int32, PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ProcessQueueT that extends from the first element to the specified index.
FindLastIndex(Int32, Int32, PredicateT)Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ProcessQueueT that contains the specified number of elements and ends at the specified index.
Flush Blocks the current thread, if the ProcessQueueT is active (i.e., user has called "Start" method), until all items in ProcessQueueT are processed, and then stops the ProcessQueueT.
ForEachPerforms the specified action on each element of the ProcessQueueT.
GetEnumerator Returns an enumerator that iterates through the ProcessQueueT.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRangeCreates a shallow copy of a range of elements in the source ProcessQueueT.
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOf(T)Searches for the specified object and returns the zero-based index of the first occurrence within the entire ProcessQueueT.
IndexOf(T, Int32)Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ProcessQueueT that extends from the specified index to the last element.
IndexOf(T, Int32, Int32)Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ProcessQueueT that starts at the specified index and contains the specified number of elements.
InsertInserts an element into the ProcessQueueT at the specified index.
InsertRangeInserts the elements of a collection into the ProcessQueueT at the specified index.
LastIndexOf(T)Searches for the specified object and returns the zero-based index of the last occurrence within the entire ProcessQueueT.
LastIndexOf(T, Int32)Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ProcessQueueT that extends from the first element to the specified index.
LastIndexOf(T, Int32, Int32)Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ProcessQueueT that contains the specified number of elements and ends at the specified index.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnItemProcessed Raises the base class ItemProcessed event.
OnItemsProcessed Raises the base class ItemsProcessed event.
OnItemsTimedOut Raises the base class ItemsTimedOut event.
OnItemTimedOut Raises the base class ItemTimedOut event.
OnProcessException Raises the base class ProcessException event.
RemoveRemoves the first occurrence of a specific object from the ProcessQueueT.
RemoveAllRemoves the all the elements that match the conditions defined by the specified predicate.
RemoveAtRemoves the element at the specified index of the ProcessQueueT.
RemoveRangeRemoves a range of elements from the ProcessQueueT.
RequeueItem Requeues item into ProcessQueueT according to specified requeue reason.
RequeueItems Requeues items into ProcessQueueT according to specified requeue reason.
ReverseReverses the order of the elements in the entire ProcessQueueT.
Reverse(Int32, Int32)Reverses the order of the elements in the specified range.
SignalDataModified Manually signals that data has been modified and processing should resume.
SortSorts the elements in the entire ProcessQueueT, using the default comparer.
Sort(ComparisonT)Sorts the elements in the entire ProcessQueueT, using the specified comparison.
Sort(IComparerT)Sorts the elements in the entire ProcessQueueT, using the specified comparer.
Sort(Int32, Int32, IComparerT)Sorts the elements in a range of elements in the ProcessQueueT, using the specified comparer.
Start Starts item processing.
Stop Stops item processing.
ToArray Copies the elements contained in the ProcessQueueT to a new array.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TrueForAllDetermines whether every element in the ProcessQueueT matches the conditions defined by the specified predicate.
TryTake(T) Attempts to remove and return an object from the ProcessQueueT.
TryTake(T) Attempts to remove and return all objects from the ProcessQueueT.

See Also