Edit

Share via


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