BasicHttpRelayBindingElement.MessageEncoding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the messaging encoding that indicates whether MTOM or text/XML is used to encode the SOAP message.
[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
Returns a WSMessageEncoding that contains either Text/XML or MTOM. The default value is Text.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET