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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.