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

适用于