MessageHeader<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the MessageHeader<T> class.
Overloads
MessageHeader<T>() |
Initializes a new instance of the MessageHeader<T> class. |
MessageHeader<T>(T) |
Initializes a new instance of the MessageHeader<T> class with the specified header content. |
MessageHeader<T>(T, Boolean, String, Boolean) |
Initializes a new instance of the MessageHeader<T> class with the specified header content and metadata. |
MessageHeader<T>()
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
Initializes a new instance of the MessageHeader<T> class.
public:
MessageHeader();
public MessageHeader ();
Public Sub New ()
Applies to
MessageHeader<T>(T)
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
Initializes a new instance of the MessageHeader<T> class with the specified header content.
public:
MessageHeader(T content);
public MessageHeader (T content);
new System.ServiceModel.MessageHeader<'T> : 'T -> System.ServiceModel.MessageHeader<'T>
Public Sub New (content As T)
Parameters
- content
- T
The content of the new header.
Applies to
MessageHeader<T>(T, Boolean, String, Boolean)
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
- Source:
- MessageHeaderT.cs
Initializes a new instance of the MessageHeader<T> class with the specified header content and metadata.
public:
MessageHeader(T content, bool mustUnderstand, System::String ^ actor, bool relay);
public MessageHeader (T content, bool mustUnderstand, string actor, bool relay);
new System.ServiceModel.MessageHeader<'T> : 'T * bool * string * bool -> System.ServiceModel.MessageHeader<'T>
Public Sub New (content As T, mustUnderstand As Boolean, actor As String, relay As Boolean)
Parameters
- content
- T
The content of the new header.
- mustUnderstand
- Boolean
A value that indicates whether the header must be understood.
- actor
- String
The targeted recipient of the message header.
- relay
- Boolean
A value that indicates whether the header should be relayed.