MessageVersion.Envelope プロパティ

定義

現在のメッセージ バージョンに関連付けられている SOAP バージョンを取得します。

public:
 property System::ServiceModel::EnvelopeVersion ^ Envelope { System::ServiceModel::EnvelopeVersion ^ get(); };
public System.ServiceModel.EnvelopeVersion Envelope { get; }
member this.Envelope : System.ServiceModel.EnvelopeVersion
Public ReadOnly Property Envelope As EnvelopeVersion

プロパティ値

EnvelopeVersion

現在のメッセージ バージョンに関連付けられている EnvelopeVersion

EnvelopeVersion envVersion = msgVersion.Envelope;
Dim envVersion As EnvelopeVersion = msgVersion.Envelope

注釈

現在、SOAP エンベロープには、SOAP 1.1 と SOAP 1.2 の 2 つのバージョンがあります。 SOAP のこれらのバージョンは EnvelopeVersion で表され、Soap11 プロパティおよび Soap12 プロパティから返されます。 MessageVersion に関連付けられている SOAP のバージョンは、Envelope プロパティを使用して回復できます。 詳細については、SOAP 1.1 と SOAP 1.2 のスキーマを参照してください。

適用対象