WSHttpBindingBaseElement.TextEncoding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the character set encoding to be used for emitting messages on the binding.
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
Property Value
An Encoding value that specifies the character set encoding to be used for emitting messages on the binding. The default is UTF8Encoding.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.