Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft