WSDualHttpBindingElement.MessageEncoding 属性

定义

获取或设置用于对消息进行编码的编码器。

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

一个 WSMessageEncoding 值,它指定用于对消息进行编码的编码器。 默认值是 Text

属性

适用于