Soap12FaultBinding 类

定义

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

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

注解

此类指定包含在 SOAP 错误中的任何错误消息的内容。This class specifies the contents of any error message, which is contained within a SOAP fault.

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

构造函数

Soap12FaultBinding()

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

属性

Encoding

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

(继承自 SoapFaultBinding)
Handled

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

(继承自 ServiceDescriptionFormatExtension)
Name

获取或设置名称特性的值,该名称特性使 soap 错误和为指定操作定义的 wsdl 错误相关。Gets or sets the value of the name attribute that relates the soap fault to the wsdl fault defined for the specified operation.

(继承自 SoapFaultBinding)
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.

(继承自 SoapFaultBinding)
Parent

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

(继承自 ServiceDescriptionFormatExtension)
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 fault message is encoded using rules specified by the Encoding property, or is encapsulated within a concrete XML schema.

(继承自 SoapFaultBinding)

方法

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)

适用于