WebHttpBinding.WriteEncoding Property

 

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

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public Encoding WriteEncoding { get; set; }

Property Value

Type: System.Text.Encoding

The Encoding that indicates the character encoding that is used. The default is UTF8Encoding.

Exception Condition
ArgumentNullException

The value set is null.

.NET Framework
Available since 3.5
Return to top
Show: