共用方式為


NetMsmqBinding.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 的值。 預設值為 SOAP 1.2。

範例

下列程式碼示範如何取得 EnvelopeVersion

NetMsmqBinding binding = new NetMsmqBinding();
EnvelopeVersion envelopeVersion = binding.EnvelopeVersion;

適用於