WSDualHttpBindingElement.TextEncoding 属性

定义

获取或设置要用于在绑定上发出消息的字符集编码。

public:
 property System::Text::Encoding ^ TextEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.EncodingConverter))]
[System.Configuration.ConfigurationProperty("textEncoding", DefaultValue="utf-8")]
public System.Text.Encoding TextEncoding { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.EncodingConverter))>]
[<System.Configuration.ConfigurationProperty("textEncoding", DefaultValue="utf-8")>]
member this.TextEncoding : System.Text.Encoding with get, set
Public Property TextEncoding As Encoding

属性值

一个有效的 Encoding 值,该值指定要用于在绑定上发出消息的字符集编码。 默认值为 UTF8Encoding

属性

适用于