BasicHttpsBinding.MessageEncoding Property

.NET Framework (current version)

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

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

public WSMessageEncoding MessageEncoding { get; set; }

Property Value

Type: System.ServiceModel.WSMessageEncoding

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

.NET Framework
Available since 4.5
Return to top