PostItemFilter TContext  DelegateNFX Class Library

[This is preliminary documentation and is subject to change.]

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 (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public delegate IWorkItem<TContext> PostItemFilter<TContext>(
	IWorkItem<TContext> work
)
where TContext : class

Parameters

work
Type: NFX.ServiceModel IWorkItem TContext 
Type Parameters

TContext

Return Value

Type: IWorkItem TContext 
See Also