TextMessageEncodingBindingElement.WriteEncoding Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the encoding that is used to format the characters in the text message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.Text.EncodingThe Encoding that is used to format the characters in the text message. The default text encoding is the UTF-8 format.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value is null. |
| ArgumentException | writeEncoding value is not valid. |
Show: