WSHttpRelayBindingBase.MessageEncoding Property

Definition

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

public System.ServiceModel.WSMessageEncoding MessageEncoding { get; set; }
member this.MessageEncoding : System.ServiceModel.WSMessageEncoding with get, set
Public Property MessageEncoding As WSMessageEncoding

Property Value

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

Applies to