MtomMessageEncodingBindingElement.WriteEncoding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the encoding that is used to format the characters in the text message.
public:
property System::Text::Encoding ^ WriteEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
public System.Text.Encoding WriteEncoding { get; set; }
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.EncodingConverter))]
public System.Text.Encoding WriteEncoding { get; set; }
member this.WriteEncoding : System.Text.Encoding with get, set
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.EncodingConverter))>]
member this.WriteEncoding : System.Text.Encoding with get, set
Public Property WriteEncoding As Encoding
Property Value
The Encoding that is used to format the characters in the text message.
- Attributes
Exceptions
The value is null
.
The value is not valid text encoding value.
Remarks
The default text encoding is the UTF-8 format. Other possible encodings include, for example, Unicode and Big Endian Unicode.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.