NetTcpBinding.EnvelopeVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.