MSDN Library

BasicHttpBindingElement.TextEncoding Property

Gets or sets the character encoding that is used for the message text.

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

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

Property Value

Type: System.Text.Encoding
A valid Encoding value that indicates the character encoding that is used.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft