[This is preliminary documentation and is subject to change.]
The WorkQueue TContext type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | WorkQueue TContext (TContext) |
Creates an instance of work queue in particular context
|
![]() | WorkQueue TContext (TContext, PostItemFilter TContext ) |
Creates an instance of work queue in particular context
with specific woprk item post filter
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | FetchDueItem |
Takes due item off the queue without executing it and returns it, or returns null when queue is empty.
|
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | PostItem |
Posts work item into the queue in natural queue order (at the end of the queue)
|
![]() | ProcessDueItem |
Processes item in normal queue order (the item that is due to be processed). Returns true when there was an item in the queue.
This method does not leak exceptions from work performance unless they are re-thrown by particular work item WorkFailed(error)
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | Context |
Returns context that work is processed in
|
![]() | PendingCount |
Returns pending number of work items
|
![]() | ProcessedFailureCount |
Returns total number of work items processed with errors by this queue since its creation
|
![]() | ProcessedSuccessCount |
Returns total number of work items processed without errors by this queue since its creation
|
![]() | ProcessedTotalCount |
Returns total number of work items processed with or without errors by this queue since its creation
|
See Also