BasicHttpBindingElement.MessageEncoding Property

 

Gets or sets whether MTOM or text/XML is used to encode SOAP messages.

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

[ConfigurationPropertyAttribute("messageEncoding", DefaultValue = WSMessageEncoding.Text)]
public WSMessageEncoding MessageEncoding { get; set; }

Property Value

Type: System.ServiceModel.WSMessageEncoding

The value of WSMessageEncoding that indicates that MTOM or text/XML is used to encode SOAP messages. The default value is Text.

.NET Framework
Available since 3.0
Return to top
Show: