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.

System.Threading.Tasks.Dataflow Namespace

 

The System.Threading.Tasks.Dataflow namespace provides an actor-based programming model that supports in-process message passing for coarse-grained dataflow and pipelining tasks.

For more information, see Dataflow (Task Parallel Library).

ClassDescription
System_CAPS_pubclassActionBlock<TInput>

Provides a dataflow block that invokes a provided Action<T> delegate for every data element received.

System_CAPS_pubclassBatchBlock<T>

Provides a dataflow block that batches inputs into arrays.

System_CAPS_pubclassBatchedJoinBlock<T1, T2>

Provides a dataflow block that batches a specified number of inputs of potentially differing types provided to one or more of its targets.

System_CAPS_pubclassBatchedJoinBlock<T1, T2, T3>

Provides a dataflow block that batches a specified number of inputs of potentially differing types provided to one or more of its targets.

System_CAPS_pubclassBroadcastBlock<T>

Provides a buffer for storing at most one element at time, overwriting each message with the next as it arrives.

System_CAPS_pubclassBufferBlock<T>

Provides a buffer for storing data.

System_CAPS_pubclassDataflowBlock

Provides a set of static (Shared in Visual Basic) methods for working with dataflow blocks.

System_CAPS_pubclassDataflowBlockOptions

Provides options used to configure the processing performed by dataflow blocks.

System_CAPS_pubclassDataflowLinkOptions

Provides options used to configure a link between dataflow blocks.

System_CAPS_pubclassExecutionDataflowBlockOptions

Provides options used to configure the processing performed by dataflow blocks that process each message through the invocation of a user-provided delegate. These are dataflow blocks such as ActionBlock<TInput> and TransformBlock<TInput, TOutput>.

System_CAPS_pubclassGroupingDataflowBlockOptions

Provides options used to configure the processing performed by dataflow blocks that group together multiple messages. These are dataflow blocks such as JoinBlock<T1, T2> and BatchBlock<T>.

System_CAPS_pubclassJoinBlock<T1, T2>

Provides a dataflow block that joins across multiple dataflow sources, not necessarily of the same type, waiting for one item to arrive for each type before they’re all released together as a tuple consisting of one item per type.

System_CAPS_pubclassJoinBlock<T1, T2, T3>

Provides a dataflow block that joins across multiple dataflow sources, which are not necessarily of the same type, waiting for one item to arrive for each type before they’re all released together as a tuple that contains one item per type.

System_CAPS_pubclassTransformBlock<TInput, TOutput>

Provides a dataflow block that invokes a provided Func<T, TResult> delegate for every data element received.

System_CAPS_pubclassTransformManyBlock<TInput, TOutput>

Provides a dataflow block that invokes a provided Func<T, TResult> delegate for every data element received.

System_CAPS_pubclassWriteOnceBlock<T>

Provides a buffer for receiving and storing at most one element in a network of dataflow blocks.

StructureDescription
System_CAPS_pubstructureDataflowMessageHeader

Provides a container of data attributes for passing between dataflow blocks.

InterfaceDescription
System_CAPS_pubinterfaceIDataflowBlock

Represents a dataflow block.

System_CAPS_pubinterfaceIPropagatorBlock<TInput, TOutput>

Represents a dataflow block that is both a target for data and a source of data.

System_CAPS_pubinterfaceIReceivableSourceBlock<TOutput>

Represents a dataflow block that supports receiving messages without linking.

System_CAPS_pubinterfaceISourceBlock<TOutput>

Represents a dataflow block that is a source of data.

System_CAPS_pubinterfaceITargetBlock<TInput>

Represents a dataflow block that is a target for data.

EnumerationDescription
System_CAPS_pubenumDataflowMessageStatus

Represents the status of a DataflowMessageHeader when passed between dataflow blocks.

System_CAPS_importantImportant

The TPL Dataflow Library (the System.Threading.Tasks.Dataflow namespace) is not distributed with the .NET Framework. To install the System.Threading.Tasks.Dataflow namespace, open your project in Visual Studio, choose Manage NuGet Packages from the Project menu, and search online for the Microsoft.Tpl.Dataflow package.

Return to top
Show:
© 2017 Microsoft