DataflowBlock::NullTarget<TInput> Method ()

 

Gets a target block that synchronously accepts all messages offered to it and drops them.

Namespace:   System.Threading.Tasks.Dataflow
Assembly:  System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)

public:
generic<typename TInput>
static ITargetBlock<TInput>^ NullTarget()

Return Value

Type: System.Threading.Tasks.Dataflow::ITargetBlock<TInput>^

A ITargetBlock<TInput> that accepts and subsequently drops all offered messages.

Type Parameters

TInput

The type of the messages this block can accept.

Return to top
Show: