MessageProperties.Encoder Property

Definition

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

public:
 property System::ServiceModel::Channels::MessageEncoder ^ Encoder { System::ServiceModel::Channels::MessageEncoder ^ get(); void set(System::ServiceModel::Channels::MessageEncoder ^ value); };
public System.ServiceModel.Channels.MessageEncoder Encoder { get; set; }
member this.Encoder : System.ServiceModel.Channels.MessageEncoder with get, set
Public Property Encoder As MessageEncoder

Property Value

MessageEncoder

A MessageEncoder that is used to write messages to a stream and to read messages from a stream.

Remarks

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

Applies to