MessageHeaders.GetHeader<T> Method (Int32)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Retrieves a message header at a specific position in this collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Type Parameters
- T
The message header.
Parameters
- index
- Type: System.Int32
The zero-based index of the header to get.
Return Value
Type: TA message header.
This method only uses the DataContractSerializer. It does not try to detect from the type whether it should use the XmlObjectSerializer or DataContractSerializer.
Show: