ToMessageHeader Method

AddressHeader.ToMessageHeader Method

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

Wraps the address header as a message header.

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

'Declaration
Public Function ToMessageHeader As MessageHeader

Return Value

Type: System.ServiceModel.Channels.MessageHeader
The MessageHeader that wraps the current address header.

The following example shows how to call this method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft