SoapHeaderFaultBinding 类

定义

表示添加到 XML Web services 中的 InputBindingOutputBinding 的扩展性元素。Represents an extensibility element added to an InputBinding or an OutputBinding within an XML Web service. 它指定用于在 SOAP 标头中传输错误信息的 SOAP 标头类型。It specifies the SOAP header types used to transmit error information within the SOAP header.

public ref class SoapHeaderFaultBinding : System::Web::Services::Description::ServiceDescriptionFormatExtension
public class SoapHeaderFaultBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension
type SoapHeaderFaultBinding = class
    inherit ServiceDescriptionFormatExtension
Public Class SoapHeaderFaultBinding
Inherits ServiceDescriptionFormatExtension
继承
SoapHeaderFaultBinding

注解

有关为 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.

构造函数

SoapHeaderFaultBinding()

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

属性

Encoding

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

Handled

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

(继承自 ServiceDescriptionFormatExtension)
Message

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

Namespace

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

Parent

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

(继承自 ServiceDescriptionFormatExtension)
Part

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

Required

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

(继承自 ServiceDescriptionFormatExtension)
Use

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

方法

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)

适用于