MessageHeaders 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 MessageHeaders class.
Overloads
MessageHeaders(MessageHeaders) |
Initializes a new instance of the MessageHeaders class with the specified collection of message headers. |
MessageHeaders(MessageVersion) |
Initializes a new instance of the MessageHeaders class with the specified message version. |
MessageHeaders(MessageVersion, Int32) |
Initializes a new instance of the MessageHeaders class with the specified message version and size. |
MessageHeaders(MessageHeaders)
- Source:
- MessageHeaders.cs
- Source:
- MessageHeaders.cs
Initializes a new instance of the MessageHeaders class with the specified collection of message headers.
public:
MessageHeaders(System::ServiceModel::Channels::MessageHeaders ^ collection);
public MessageHeaders (System.ServiceModel.Channels.MessageHeaders collection);
new System.ServiceModel.Channels.MessageHeaders : System.ServiceModel.Channels.MessageHeaders -> System.ServiceModel.Channels.MessageHeaders
Public Sub New (collection As MessageHeaders)
Parameters
- collection
- MessageHeaders
A collection of message headers.
Applies to
MessageHeaders(MessageVersion)
- Source:
- MessageHeaders.cs
- Source:
- MessageHeaders.cs
Initializes a new instance of the MessageHeaders class with the specified message version.
public:
MessageHeaders(System::ServiceModel::Channels::MessageVersion ^ version);
public MessageHeaders (System.ServiceModel.Channels.MessageVersion version);
new System.ServiceModel.Channels.MessageHeaders : System.ServiceModel.Channels.MessageVersion -> System.ServiceModel.Channels.MessageHeaders
Public Sub New (version As MessageVersion)
Parameters
- version
- MessageVersion
The SOAP version of the message.
Applies to
MessageHeaders(MessageVersion, Int32)
- Source:
- MessageHeaders.cs
- Source:
- MessageHeaders.cs
Initializes a new instance of the MessageHeaders class with the specified message version and size.
public:
MessageHeaders(System::ServiceModel::Channels::MessageVersion ^ version, int initialSize);
public MessageHeaders (System.ServiceModel.Channels.MessageVersion version, int initialSize);
new System.ServiceModel.Channels.MessageHeaders : System.ServiceModel.Channels.MessageVersion * int -> System.ServiceModel.Channels.MessageHeaders
Public Sub New (version As MessageVersion, initialSize As Integer)
Parameters
- version
- MessageVersion
The SOAP version of the message.
- initialSize
- Int32
The size of the header.
Applies to
.NET