Export (0) Print
Expand All

Message.Version Property

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)

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.

ExceptionCondition
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 noteImportant Note:

Inheritors must note that when overridden in a derived class, this method returns a MessageVersion object for the SOAP version of the message.

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

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

Community Additions

ADD
Show:
© 2014 Microsoft