DataflowMessageStatus Enumeration

 

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

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

public enum class DataflowMessageStatus

Member nameDescription
Accepted

Indicates that the ITargetBlock<TInput> accepted the message. Once a target has accepted a message, it is wholly owned by the target.

Declined

Indicates that the ITargetBlock<TInput> declined the message. The ISourceBlock<TOutput> still owns the message.

DecliningPermanently

Indicates that the ITargetBlock<TInput> declined the message. The ISourceBlock<TOutput> still owns the message.

Additionally, the ITargetBlock<TInput> will decline all future messages sent by the source.

NotAvailable

Indicates that the ITargetBlock<TInput> tried to accept the message from the ISourceBlock<TOutput>, but the message was no longer available.

Postponed

Indicates that the ITargetBlock<TInput> postponed the message for potential consumption at a later time.

The ISourceBlock<TOutput> still owns the message.

System_CAPS_noteNote

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.

Return to top
Show: