MessageVersion.None Property

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

Gets the message version that does not use SOAP or WS-Addressing.

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

Syntax

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

Property Value

Type: System.ServiceModel.Channels.MessageVersion
The MessageVersion that does not use SOAP or WS-Addressing.

Remarks

The None property consists of the None and None properties. This provides support for using "plain old XML" (POX)-style messaging. Enabling basic POX messaging is now a matter of setting up an HTTP binding on your service with a text encoder that uses None.

Note that when a service is configured with the BasicHttpBinding and the MessageVersion is set to None, the action header in a request message is removed from the response message. This is consistent with the way ASMX services work.

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.