Share via


BasicHttpRelayBindingElement.TextEncoding Property

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.ServiceBus.Configuration.EncodingConverter))]
[System.Configuration.ConfigurationProperty("textEncoding", DefaultValue="utf-8")]
public System.Text.Encoding TextEncoding { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.ServiceBus.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

Returns a Encoding that contains the text encoding. The default value is UTF8.

Attributes

Applies to