WSHttpBindingBase.EnvelopeVersion 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取此绑定处理的消息将要使用的 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 的值。 该值始终为 SOAP 1.2。
示例
下面的示例演示如何获取信封版本。
EnvelopeVersion envelopeVersion =
binding1.EnvelopeVersion;
Dim envelopeVersion As EnvelopeVersion = binding1.EnvelopeVersion