MessageProperties.Encoder MessageProperties.Encoder MessageProperties.Encoder MessageProperties.Encoder Property

定義

取得編碼器,這個編碼器可用來寫入訊息至資料流及讀取資料流中的訊息。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

屬性值

MessageEncoder,可用來寫入訊息至資料流及讀取資料流中的訊息。A MessageEncoder that is used to write messages to a stream and to read messages from a stream.

備註

這個屬性會指定訊息編碼器,可用來序列化或還原序列化訊息執行個體這MessageProperties附加至執行個體。This property specifies a message encoder that can be used to serialize or deserialize the message instance this MessageProperties instance is attached to.

適用於