SALES: 1-800-867-1380

WebHttpRelayBinding.WriteEncoding Property

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

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public Encoding WriteEncoding { get; set; }

Property Value

Type: System.Text.Encoding
Returns a Encoding that contains the encoding. The default value is utf8encoding.

The possible values for WriteEncoding are as follows:

  • ASCIIEncoding

  • UnicodeEncoding

  • UTF32Encoding

  • UTF7Encoding

  • UTF8Encoding

Along with the type of transport used and the Security settings, WriteEncoding is one of the three main properties that define this binding. For more information on bindings,

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft