Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
Show:
© 2015 Microsoft