BasicHttpBinding.EnvelopeVersion Property

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)

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.

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


EnvelopeVersion envelopeVersion = binding.EnvelopeVersion;
//Output of TxtEV to TextBlock: Soap11 (http://schemas.xmlsoap.org/soap/evelope/)
string TxtEV = envelopeVersion.ToString();


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: