WSHttpBindingBase.EnvelopeVersion 屬性

定義

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

public:
 property System::ServiceModel::EnvelopeVersion ^ EnvelopeVersion { System::ServiceModel::EnvelopeVersion ^ get(); void set(System::ServiceModel::EnvelopeVersion ^ value); };
public:
 property System::ServiceModel::EnvelopeVersion ^ EnvelopeVersion { System::ServiceModel::EnvelopeVersion ^ get(); };
public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get; set; }
public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get; }
member this.EnvelopeVersion : System.ServiceModel.EnvelopeVersion with get, set
member this.EnvelopeVersion : System.ServiceModel.EnvelopeVersion
Public Property EnvelopeVersion As EnvelopeVersion
Public ReadOnly Property EnvelopeVersion As EnvelopeVersion

屬性值

EnvelopeVersion

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

範例

這個範例會示範如何取得信封版本。

EnvelopeVersion envelopeVersion =
binding1.EnvelopeVersion;
Dim envelopeVersion As EnvelopeVersion = binding1.EnvelopeVersion

適用於