Rediger

Del via


MessageHeaders Constructors

Definition

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

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

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

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