MessageHeaders::Insert Method (Int32, MessageHeader^)

 

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

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

public:
void Insert(
	int headerIndex,
	MessageHeader^ header
)

Parameters

headerIndex
Type: System::Int32

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

header
Type: System.ServiceModel.Channels::MessageHeader^

A message header to insert.

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