DataflowMessageHeader Structure

.NET Framework 4.5

Provides a container of data attributes for passing between dataflow blocks.

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

[DebuggerDisplayAttribute("Id = {Id}")]
public struct DataflowMessageHeader : IEquatable<DataflowMessageHeader>

The DataflowMessageHeader type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibraryDataflowMessageHeaderInitializes a new DataflowMessageHeader with the specified attributes.
Top

  NameDescription
Public propertySupported by Portable Class LibraryIdGets the ID of the message within the source.
Public propertySupported by Portable Class LibraryIsValidGets the validity of the message.
Top

  NameDescription
Public methodSupported by Portable Class LibraryEquals(DataflowMessageHeader)Checks two DataflowMessageHeader instances for equality by ID without boxing.
Public methodSupported by Portable Class LibraryEquals(Object)Checks boxed DataflowMessageHeader instances for equality by ID. (Overrides ValueType.Equals(Object).)
Public methodSupported by Portable Class LibraryGetHashCodeGenerates a hash code for the DataflowMessageHeader instance. (Overrides ValueType.GetHashCode().)
Public methodSupported by Portable Class LibraryGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Portable Class LibraryToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public operatorStatic memberSupported by Portable Class LibraryEqualityChecks two DataflowMessageHeader instances for equality by ID.
Public operatorStatic memberSupported by Portable Class LibraryInequalityChecks two DataflowMessageHeader instances for non-equality by ID.
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft