IDataflowBlock Interface

Definition

Represents a dataflow block.

public interface IDataflowBlock
Derived

Remarks

Note

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

Properties

Completion

Gets a Task that represents the asynchronous operation and completion of the dataflow block.

Methods

Complete()

Signals to the IDataflowBlock that it should not accept nor produce any more messages nor consume any more postponed messages.

Fault(Exception)

Causes the IDataflowBlock to complete in a Faulted state.