Edit

Share via


IDataflowBlock Interface

Definition

Represents a dataflow block.

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

Remarks

Note

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.

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.

Applies to