Message.Version Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, gets the SOAP and WS-Addressing versions of the message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.ServiceModel.Channels.MessageVersionA MessageVersion object that represents the SOAP and WS-Addressing versions used by the message.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The message has been disposed of. |
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. |
Important Note: