Encoder Property
Collapse the table of content
Expand the table of content

MessageProperties.Encoder Property

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

Gets the encoder that is used to write messages to a stream and to read messages from a stream.

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

public MessageEncoder Encoder { get; set; }

Property Value

Type: System.ServiceModel.Channels.MessageEncoder
A MessageEncoder that is used to write messages to a stream and to read messages from a stream.

This property specifies a message encoder that can be used to serialize or deserialize the message instance this MessageProperties instance is attached to.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft