MessageHeaders.CopyHeaderFrom Method (Message, Int32)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Copies the header content located at the specified index from the specified message to this instance.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- message
- Type: System.ServiceModel.Channels.Message
A message.
- headerIndex
- Type: System.Int32
The location of the original message header, from which the content is copied over.
Show: