Delegate PostItemFilter<TContext>
A filter delegate that gets called within PostItem before adding work to this queue. This is useful for re-routing work to some other queue/s when needed. Return null if work item is going to be processed by some other queue that this delegate should post into. Keep in mind that this delegate is invoked by posters thread
Namespace: NFX.ServiceModel
Assembly: NFX.dll
Syntax
public delegate IWorkItem<TContext> PostItemFilter<TContext>(IWorkItem<TContext> work)where TContext : class;
Parameters
Type | Name | Description |
---|---|---|
IWorkItem<TContext> | work |
Returns
Type | Description |
---|---|
IWorkItem<TContext> |
Type Parameters
Name | Description |
---|---|
TContext |