The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
MtomMessageEncodingBindingElement::WriteEncoding Property
.NET Framework (current version)
Gets or sets the encoding that is used to format the characters in the text message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | The value is null. |
| ArgumentException | The value is not valid text encoding value. |
The default text encoding is the UTF-8 format. Other possible encodings include, for example, Unicode and Big Endian Unicode.
.NET Framework
Available since 3.0
Available since 3.0
Show: