语言

Soap12HeaderBinding 类

定义

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

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

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

(继承自 SoapHeaderBinding)
Handled

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

(继承自 ServiceDescriptionFormatExtension)
MapToProperty

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

(继承自 SoapHeaderBinding)
Message

获取或设置一个值,该值指定应用于的 Message XML Web 服务 SoapHeaderBinding 中的名称。

(继承自 SoapHeaderBinding)
Namespace

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

(继承自 SoapHeaderBinding)
Parent

获取 . 的 ServiceDescriptionFormatExtension父级。

(继承自 ServiceDescriptionFormatExtension)
Part

获取或设置一个值,该值指示应用 XML Web 服务MessagePart中的哪个SoapHeaderBinding值。

(继承自 SoapHeaderBinding)
Required

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

(继承自 ServiceDescriptionFormatExtension)
Use

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

(继承自 SoapHeaderBinding)

方法

名称 说明
Equals(Object)

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

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

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

(继承自 Object)

适用于