WSHttpBindingBaseElement::TextEncoding Property

 

Gets or sets the character set encoding to be used for emitting messages on the binding.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
[ConfigurationPropertyAttribute("textEncoding", DefaultValue = "utf-8")]
property Encoding^ TextEncoding {
	Encoding^ get();
	void set(Encoding^ value);
}

Property Value

Type: System.Text::Encoding^

An Encoding value that specifies the character set encoding to be used for emitting messages on the binding. The default is UTF8Encoding.

.NET Framework
Available since 3.0
Return to top
Show: