WSHttpBindingBaseElement::MessageEncoding Property

 

Gets or sets the encoder used to encode the message.

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

public:
[ConfigurationPropertyAttribute("messageEncoding", DefaultValue = WSMessageEncoding::Text)]
property WSMessageEncoding MessageEncoding {
	WSMessageEncoding get();
	void set(WSMessageEncoding value);
}

Property Value

Type: System.ServiceModel::WSMessageEncoding

A WSMessageEncoding value that specifies the encoder used to encode the message. The default value is Text.

.NET Framework
Available since 3.0
Return to top
Show: