BasicHttpBinding.EnvelopeVersion Property

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

Gets the version of SOAP that is used for messages that are processed by this binding.

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

Syntax

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

Property Value

Type: System.ServiceModel.EnvelopeVersion
The value of the EnvelopeVersion that is used with this binding. The value is always SOAP 1.1.

Remarks

SOAP 1.1 is the only value that can be used with this binding.

Examples

            Dim envelopeVersion As EnvelopeVersion = binding.EnvelopeVersion
            'Output of TxtEV to TextBlock: Soap11 (https://schemas.xmlsoap.org/soap/evelope/)
            Dim TxtEV As String = envelopeVersion.ToString()
EnvelopeVersion envelopeVersion = binding.EnvelopeVersion;
//Output of TxtEV to TextBlock: Soap11 (https://schemas.xmlsoap.org/soap/evelope/)
string TxtEV = envelopeVersion.ToString();

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.