Export (0) Print
Expand All
Expand Minimize

WSMessageEncoding Enumeration

Specifies whether Message Transmission Optimization Mechanism (MTOM) or text is used to encode SOAP messages.

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

public enum WSMessageEncoding
public enum WSMessageEncoding
public enum WSMessageEncoding

 Member nameDescription
MtomMTOM is used to encode the SOAP messages. 
TextText is used to encode the SOAP messages. 

Used by interoperable bindings, such as WsHttpBinding and WsDualHttpBinding, and BasicHttpBinding to specify the SOAP message encoding that may be used.

The Message-Transmission Optimization Mechanism (MTOM) is a method for efficiently encoding binary XML elements within the context of a SOAP envelope.

Text encodings for messages, such as UTF8, are used for interoperability purposes.

Note that the standard bindings designed for interoperability with Web services do not use binary encodings. For more information about the standard bindings, see System-Provided Bindings.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft