IDataflowBlock IDataflowBlock IDataflowBlock IDataflowBlock Interface


Represents a dataflow block.

public interface class IDataflowBlock
public interface IDataflowBlock
type IDataflowBlock = interface
Public Interface IDataflowBlock



The TPL Dataflow Library (the System.Threading.Tasks.Dataflow namespace) is not distributed with .NET. To install the System.Threading.Tasks.Dataflow namespace in Visual Studio, open your project, choose Manage NuGet Packages from the Project menu, and search online for the System.Threading.Tasks.Dataflow package. Alternatively, to install it using the .NET Core CLI, run dotnet add package System.Threading.Tasks.Dataflow.


Completion Completion Completion Completion

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


Complete() Complete() Complete() Complete()

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

Fault(Exception) Fault(Exception) Fault(Exception) Fault(Exception)

Causes the IDataflowBlock to complete in a Faulted state.

Applies to