DataflowMessageHeader Structure

 

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)

public value struct DataflowMessageHeader : IEquatable<DataflowMessageHeader>

NameDescription
System_CAPS_pubmethodDataflowMessageHeader(Int64)

Initializes a new DataflowMessageHeader with the specified attributes.

NameDescription
System_CAPS_pubpropertyId

Gets the ID of the message within the source.

System_CAPS_pubpropertyIsValid

Gets the validity of the message.

NameDescription
System_CAPS_pubmethodEquals(DataflowMessageHeader)

Checks two DataflowMessageHeader instances for equality by ID without boxing.

System_CAPS_pubmethodEquals(Object^)

Checks boxed DataflowMessageHeader instances for equality by ID.(Overrides ValueType::Equals(Object^).)

System_CAPS_pubmethodGetHashCode()

Generates a hash code for the DataflowMessageHeader instance.(Overrides ValueType::GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(DataflowMessageHeader, DataflowMessageHeader)

Checks two DataflowMessageHeader instances for equality by ID.

System_CAPS_puboperatorSystem_CAPS_staticInequality(DataflowMessageHeader, DataflowMessageHeader)

Checks two DataflowMessageHeader instances for non-equality by ID.

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: