Insert Method

MessageHeaders.Insert Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft