Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WSDualHttpBinding::MessageEncoding Property

 

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

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

public:
property WSMessageEncoding MessageEncoding {
	WSMessageEncoding get();
	void set(WSMessageEncoding value);
}

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.

The following example shows how to set the WSMessageEncoding property to MTOM.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft