WSHttpBindingBase.EnvelopeVersion WSHttpBindingBase.EnvelopeVersion WSHttpBindingBase.EnvelopeVersion WSHttpBindingBase.EnvelopeVersion Property

Definition

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

public:
 property System::ServiceModel::EnvelopeVersion ^ EnvelopeVersion { System::ServiceModel::EnvelopeVersion ^ get(); };
public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get; }
member this.EnvelopeVersion : System.ServiceModel.EnvelopeVersion
Public ReadOnly Property EnvelopeVersion As EnvelopeVersion

Property Value

The value of the EnvelopeVersion that is used with this binding. The value is always SOAP 1.2.

Examples

This example shows how to get the envelope version.

EnvelopeVersion envelopeVersion =
binding1.EnvelopeVersion;
Dim envelopeVersion As EnvelopeVersion = binding1.EnvelopeVersion

Applies to