WebMessageEncodingBindingElement.WriteEncoding Property

Definition

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

public:
 property System::Text::Encoding ^ WriteEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
public System.Text.Encoding WriteEncoding { get; set; }
member this.WriteEncoding : System.Text.Encoding with get, set
Public Property WriteEncoding As Encoding

Property Value

The Encoding that indicates the character encoding that is used to write the message text. The default is UTF8Encoding.

Exceptions

The value set is null.

Applies to