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(); void set(System::ServiceModel::EnvelopeVersion ^ value); };
public:
 property System::ServiceModel::EnvelopeVersion ^ EnvelopeVersion { System::ServiceModel::EnvelopeVersion ^ get(); };
public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get; set; }
public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get; }
member this.EnvelopeVersion : System.ServiceModel.EnvelopeVersion with get, set
member this.EnvelopeVersion : System.ServiceModel.EnvelopeVersion
Public Property EnvelopeVersion As 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