EnvelopeVersion.None Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the envelope version not using a version of SOAP.

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

Syntax

'Declaration
Public Shared ReadOnly Property None As EnvelopeVersion
public static EnvelopeVersion None { get; }

Property Value

Type: System.ServiceModel.EnvelopeVersion
The envelope version not using SOAP formatting.

Remarks

If the None message version is used, this means that a SOAP envelope is not written out and the message emits the contents of the body. This enables a Silverlight 5 channel to communicate with an endpoint that is expecting XML with no SOAP formatting. The XML payload lives in the body of a message and is the only thing emitted when it reaches the encoder.

Similarly, when the arbitrary chunk of XML is received, it is wrapped up in a message for propagation up the channel stack. The required headers are inserted and the message is processed as if it had been a SOAP message.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.