共用方式為


WebHttpRelayBindingElement.WriteEncoding Property

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.ServiceBus.Configuration.EncodingConverter))]
[System.Configuration.ConfigurationProperty("writeEncoding", DefaultValue="utf-8")]
public System.Text.Encoding WriteEncoding { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.ServiceBus.Configuration.EncodingConverter))>]
[<System.Configuration.ConfigurationProperty("writeEncoding", DefaultValue="utf-8")>]
member this.WriteEncoding : System.Text.Encoding with get, set
Public Property WriteEncoding As Encoding

Property Value

Returns a Encoding that indicates the character encoding that is used. The default is UTF8Encoding.

Attributes

Exceptions

The value set is null.

Applies to