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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應