Message.Version Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
When overridden in a derived class, gets the SOAP and WS-Addressing versions of the message.
Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Version As MessageVersion
public abstract MessageVersion Version { get; }
Property Value
Type: System.ServiceModel.Channels.MessageVersion
A MessageVersion object that represents the SOAP and WS-Addressing versions used by the message.
Remarks
This value is immutable for the message. There are two possible value for the version: Soap11 which uses SOAP 1.1 and Soap12WSAddressing10 which uses SOAP 1.2 with WS-Addressing 1.0.
Knowing the underlying SOAP version is important because the structure of Message is firmly correlated with that of a SOAP message.
Important Note: |
---|
Inheritors must note that when overridden in a derived class, this method returns a MessageVersion object for the SOAP version of the 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.