次の方法で共有


MessageVersion.Envelope Property

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

Gets the SOAP version associated with the current message version.

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

Syntax

'Declaration
Public ReadOnly Property Envelope As EnvelopeVersion
public EnvelopeVersion Envelope { get; }

Property Value

Type: System.ServiceModel.EnvelopeVersion
The EnvelopeVersion associated with the message version object.

Remarks

There are currently two SOAP envelope versions available: SOAP 1.1 and SOAP 1.2. These versions of SOAP are represented by EnvelopeVersion and are returned by the Soap11 and Soap12Addressing10() properties. The version of SOAP associated with the MessageVersion can be recovered by using the Envelope property.

For more information, see

the schema for SOAP 1.1 and SOAP 1.2.

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.