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.

ActionBlock<TInput>::Post Method (TInput)

 

Posts an item to the target dataflow block.

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

public:
bool Post(
	TInput item
)

Parameters

item
Type: TInput

The item being offered to the target.

Return Value

Type: System::Boolean

true if the item is posted to the dataflow block; otherwise, false.

The following example shows how to use the Post method to post an item to the target dataflow block. This code example is part of a larger example provided for the How to: Specify the Degree of Parallelism in a Dataflow Block topic.

No code example is currently available or this language may not be supported.
Return to top
Show:
© 2017 Microsoft