NetNamedPipeBinding.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

Soap12.

範例

下列範例會示範如何取得 SOAP 的版本。

EnvelopeVersion envelopeVersion =
    binding.EnvelopeVersion;

備註

SOAP 1.2 必須搭配此繫結使用。

適用於