Soap12HeaderBinding 类

定义

表示当 XML Web services 支持 SOAP 协议 1.2 版时应用于 InputBindingOutputBinding 的服务说明格式扩展。 此类不能被继承。

public ref class Soap12HeaderBinding sealed : System::Web::Services::Description::SoapHeaderBinding
[System.Web.Services.Configuration.XmlFormatExtension("header", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding))]
public sealed class Soap12HeaderBinding : System.Web.Services.Description.SoapHeaderBinding
[<System.Web.Services.Configuration.XmlFormatExtension("header", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding))>]
type Soap12HeaderBinding = class
    inherit SoapHeaderBinding
Public NotInheritable Class Soap12HeaderBinding
Inherits SoapHeaderBinding
继承
属性

注解

此类指定消息(抽象类型定义或具体架构定义)在 SOAP 消息的 元素中的 <Header> 显示方式。

有关为 XML Web 服务指定协议的详细信息,请参阅 XML Web Services Using ASP.NET。 有关 Web 服务描述语言 (WSDL) 的详细信息,请参阅 WSDL 规范。

构造函数

Soap12HeaderBinding()

初始化 Soap12HeaderBinding 类的新实例。

属性

Encoding

获取或设置一个 URI,该 URI 表示用于对 SOAP 标头进行编码的编码样式。

(继承自 SoapHeaderBinding)
Fault

获取或设置一个扩展类型,它控制 WSDL 文档中 SOAP 标头的 headerfault XML 元素输出。

(继承自 SoapHeaderBinding)
Handled

获取或设置一个值,该值指示当导入扩展性元素时,导入进程是否使用 ServiceDescriptionFormatExtension

(继承自 ServiceDescriptionFormatExtension)
MapToProperty

获取或设置一个值,该值指示是否将 SoapHeaderBinding 实例映射到生成的代理类中的特定属性。

(继承自 SoapHeaderBinding)
Message

获取或设置一个值,该值指定 XML Web services 中应用 MessageSoapHeaderBinding 的名称。

(继承自 SoapHeaderBinding)
Namespace

获取或设置一个 URI,该 URI 表示 Encoding 属性未具体定义的内容编码规范的位置。

(继承自 SoapHeaderBinding)
Parent

获取 ServiceDescriptionFormatExtension 的父级。

(继承自 ServiceDescriptionFormatExtension)
Part

获取或设置一个值,该值指示 XML Web services 中应用 MessagePartSoapHeaderBinding

(继承自 SoapHeaderBinding)
Required

获取或设置一个值,该值指示 ServiceDescriptionFormatExtension 是否是它所引用的操作所必需的。

(继承自 ServiceDescriptionFormatExtension)
Use

指定是使用由 Encoding 属性指定的规则对标题进行编码,还是将标题封装在具体的 XML 架构中。

(继承自 SoapHeaderBinding)

方法

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于