共用方式為


BasicHttpBindingElement.MessageEncoding 屬性

定義

取得或設定是否要採用 MTOM 或 text/XML 來編碼 SOAP 訊息。

public:
 property System::ServiceModel::WSMessageEncoding MessageEncoding { System::ServiceModel::WSMessageEncoding get(); void set(System::ServiceModel::WSMessageEncoding value); };
[System.Configuration.ConfigurationProperty("messageEncoding", DefaultValue=System.ServiceModel.WSMessageEncoding.Text)]
public System.ServiceModel.WSMessageEncoding MessageEncoding { get; set; }
[<System.Configuration.ConfigurationProperty("messageEncoding", DefaultValue=System.ServiceModel.WSMessageEncoding.Text)>]
member this.MessageEncoding : System.ServiceModel.WSMessageEncoding with get, set
Public Property MessageEncoding As WSMessageEncoding

屬性值

WSMessageEncoding 的值,指出已採用 MTOM 或 text/XML 來編碼 SOAP 訊息。 預設值是 Text

屬性

適用於