Windows apps
Collapse the table of content
Expand the table of content
Information
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.

WebServiceEndpoint::WriteEncoding Property

.NET Framework (current version)
 

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

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

public:
property Encoding^ WriteEncoding {
	Encoding^ get();
	void set(Encoding^ value);
}

Property Value

Type: System.Text::Encoding^

The character encoding that is used. The default is UTF8Encoding.

Exception Condition
ArgumentNullException

The value set is null.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft