Interface IWorkQueue<TContext>
Defines contract for work queue that work items can be posted to
Assembly: NFX.dll
Syntax
public interface IWorkQueue<TContext>
where TContext : class
Type Parameters
Name |
Description |
TContext |
|
Properties
Context
Declaration
TContext Context { get; }
Property Value
Type |
Description |
TContext |
|
ProcessedFailureCount
Declaration
long ProcessedFailureCount { get; }
Property Value
Type |
Description |
System.Int64 |
|
ProcessedSuccessCount
Declaration
long ProcessedSuccessCount { get; }
Property Value
Type |
Description |
System.Int64 |
|
Methods
PostItem(IWorkItem<TContext>)
Posts work item into the queue in natural queue order (at the end of the queue)
Declaration
void PostItem(IWorkItem<TContext> work)
Parameters
Type |
Name |
Description |
IWorkItem<TContext> |
work |
|
Extension Methods