Uredi

Deli z drugimi prek


NetTcpBinding.EnvelopeVersion Property

Definition

Gets the version of SOAP that is used for messages 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 SOAP 1.2.

Examples

This example shows how to get the EnvelopeVersion value.

EnvelopeVersion envelopeVersion = binding.EnvelopeVersion;

Remarks

The property always returns SOAP 1.2. This value cannot be changed.

Applies to