WSHttpRelayBindingBaseElement.MessageEncoding Property

Definition

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

[System.Configuration.ConfigurationProperty("messageEncoding", DefaultValue=System.ServiceModel.WSMessageEncoding.Text)]
public System.ServiceModel.WSMessageEncoding MessageEncoding { get; set; }
[<System.Configuration.ConfigurationProperty("messageEncoding", DefaultValue=System.ServiceModel.WSMessageEncoding.Text)>]
member this.MessageEncoding : System.ServiceModel.WSMessageEncoding with get, set
Public Property MessageEncoding As WSMessageEncoding

Property Value

WSMessageEncoding

Indicates whether MTOM or Text/XML is used to encode SOAP messages. The default is Text/XML.

Attributes

Applies to