Export (0) Print
Expand All

DataflowMessageStatus Enumeration

.NET Framework 4.5

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)

'Declaration
Public Enumeration DataflowMessageStatus

Member nameDescription
Supported by Portable Class LibraryAcceptedIndicates that the ITargetBlock(Of TInput) accepted the message. Once a target has accepted a message, it is wholly owned by the target.
Supported by Portable Class LibraryDeclinedIndicates that the ITargetBlock(Of TInput) declined the message. The ISourceBlock(Of TOutput) still owns the message.
Supported by Portable Class LibraryDecliningPermanentlyIndicates that the ITargetBlock(Of TInput) declined the message. The ISourceBlock(Of TOutput) still owns the message. Additionally, the ITargetBlock(Of TInput) will decline all future messages sent by the source.
Supported by Portable Class LibraryNotAvailableIndicates that the ITargetBlock(Of TInput) tried to accept the message from the ISourceBlock(Of TOutput), but the message was no longer available.
Supported by Portable Class LibraryPostponedIndicates that the ITargetBlock(Of TInput) postponed the message for potential consumption at a later time. The ISourceBlock(Of TOutput) still owns the message.

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.

.NET Framework

Supported in: 4.5

Portable Class Library

Supported in: Portable Class Library

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft