NetTcpBinding.EnvelopeVersion 屬性

定義

取得 SOAP 的版本,用於由此繫結處理的訊息。

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

屬性值

EnvelopeVersion

搭配此繫結使用的 EnvelopeVersion 的值。 該值為 SOAP 1.2。

範例

這個範例會示範如何取得 EnvelopeVersion 值。

EnvelopeVersion envelopeVersion = binding.EnvelopeVersion;

備註

屬性一律會傳回 SOAP 1.2。 這項值不能被改變。

適用於