Soap12HeaderBinding 类

定义

表示当 XML Web services 支持 SOAP 协议 1.2 版时应用于 InputBindingOutputBinding 的服务说明格式扩展。Represents a service description format extension applied to an InputBinding or an OutputBinding when an XML Web service supports the SOAP protocol version 1.2. 此类不能被继承。This class cannot be inherited.

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>This class specifies how messages, either abstract type definitions or concrete schema definitions, appear within the <Header> element of a SOAP message.

有关为 XML Web services 指定协议的详细信息,请参阅使用 ASP.NET 的 Xml Web servicesFor more information about specifying protocols for XML Web services, see XML Web Services Using ASP.NET. 有关 Web Services 描述语言 (WSDL) 的详细信息,请参阅wsdl规范。For more information about Web Services Description Language (WSDL), see the WSDL specification.

构造函数

Soap12HeaderBinding()

初始化 Soap12HeaderBinding 类的新实例。Initializes a new instance of the Soap12HeaderBinding class.

属性

Encoding

获取或设置一个 URI,该 URI 表示用于对 SOAP 标头进行编码的编码样式。Gets or sets a URI representing the encoding style used to encode the SOAP header.

(继承自 SoapHeaderBinding)
Fault

获取或设置一个扩展类型,它控制 WSDL 文档中 SOAP 标头的 headerfault XML 元素输出。Gets or sets the extension type controlling the output in a WSDL document for the headerfault XML element of a SOAP header.

(继承自 SoapHeaderBinding)
Handled

获取或设置一个值,该值指示当导入扩展性元素时,导入进程是否使用 ServiceDescriptionFormatExtensionGets or sets a value indicating whether the ServiceDescriptionFormatExtension is used by the import process when the extensibility element is imported.

(继承自 ServiceDescriptionFormatExtension)
MapToProperty

获取或设置一个值,该值指示是否将 SoapHeaderBinding 实例映射到生成的代理类中的特定属性。Gets or sets a value indicating whether the SoapHeaderBinding instance is mapped to a specific property in generated proxy classes.

(继承自 SoapHeaderBinding)
Message

获取或设置一个值,该值指定 XML Web services 中应用 MessageSoapHeaderBinding 的名称。Gets or sets a value specifying the name of the Message within the XML Web service to which the SoapHeaderBinding applies.

(继承自 SoapHeaderBinding)
Namespace

获取或设置一个 URI,该 URI 表示 Encoding 属性未具体定义的内容编码规范的位置。Get or sets the URI representing the location of the specification for encoding of content not specifically defined by the Encoding property.

(继承自 SoapHeaderBinding)
Parent

获取 ServiceDescriptionFormatExtension 的父级。Gets the parent of the ServiceDescriptionFormatExtension.

(继承自 ServiceDescriptionFormatExtension)
Part

获取或设置一个值,该值指示 XML Web services 中应用 MessagePartSoapHeaderBindingGets or sets a value indicating to which MessagePart within the XML Web service the SoapHeaderBinding applies.

(继承自 SoapHeaderBinding)
Required

获取或设置一个值,该值指示 ServiceDescriptionFormatExtension 是否是它所引用的操作所必需的。Gets or sets a value indicating whether the ServiceDescriptionFormatExtension is necessary for the action to which it refers.

(继承自 ServiceDescriptionFormatExtension)
Use

指定是使用由 Encoding 属性指定的规则对标题进行编码,还是将标题封装在具体的 XML 架构中。Specifies whether the header is encoded using rules specified by the Encoding property, or is encapsulated within a concrete XML schema.

(继承自 SoapHeaderBinding)

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于