Edit

Share via


MessageHeaders.Insert(Int32, MessageHeader) Method

Definition

Inserts a message header into the collection at the specified index.

public:
 void Insert(int headerIndex, System::ServiceModel::Channels::MessageHeader ^ header);
public void Insert (int headerIndex, System.ServiceModel.Channels.MessageHeader header);
member this.Insert : int * System.ServiceModel.Channels.MessageHeader -> unit
Public Sub Insert (headerIndex As Integer, header As MessageHeader)

Parameters

headerIndex
Int32

The zero-based index at which header should be inserted.

header
MessageHeader

A message header to insert.

Applies to