Message.Version Property

When overridden in a derived class, gets the SOAP version of the message.

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

public abstract MessageVersion Version { get; }
/** @property */
public abstract MessageVersion get_Version ()

public abstract function get Version () : MessageVersion

Not applicable.

Property Value

A MessageVersion object that represents the SOAP version.

This value is immutable for the message. There are two possible values for the version: Soap11 and Soap12 that correspond to SOAP 1.1 and SOAP 1.2 respectively.

Knowing the underlying SOAP version is important because the structure of Message is firmly correlated with that of a SOAP message.

Notes to InheritorsWhen overridden in a derived class, this method returns a MessageVersion object for the SOAP version of the message.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: