MessageHeader<T> Constructor (T, Boolean, String^, Boolean)

 

Initializes a new instance of the MessageHeader<T> class with the specified header content and metadata.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
MessageHeader(
	T content,
	bool mustUnderstand,
	String^ actor,
	bool relay
)

Parameters

content
Type: T

The content of the new header.

mustUnderstand
Type: System::Boolean

A value that indicates whether the header must be understood.

actor
Type: System::String^

The targeted recipient of the message header.

relay
Type: System::Boolean

A value that indicates whether the header should be relayed.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show: