Soap12FaultBinding 類別

定義

表示當 XML Web Service 支援 SOAP 通訊協定 1.2 版時,FaultBinding 所套用的服務描述格式延伸。 此類別無法獲得繼承。

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 錯誤中包含的任何錯誤訊息內容。

如需指定 XML Web 服務的通訊協定的詳細資訊,請參閱 使用 ASP.NET 的 XML Web 服務。 如需 Web 服務描述語言 (WSDL) 的詳細資訊,請參閱 WSDL 規格。

建構函式

Soap12FaultBinding()

初始化 Soap12FaultBinding 類別的新執行個體。

屬性

Encoding

取得或設定 URI,表示用來編碼 SOAP 錯誤訊息的編碼樣式。

(繼承來源 SoapFaultBinding)
Handled

取得或設定值,指出 ServiceDescriptionFormatExtension 是否在擴充性項目匯入時由匯入處理序來使用。

(繼承來源 ServiceDescriptionFormatExtension)
Name

取得或設定名稱屬性的值,這個名稱屬性會將 soap 錯誤與為指定作業定義的 wsdl 錯誤產生關聯。

(繼承來源 SoapFaultBinding)
Namespace

取得或設定 URI,表示未特別由 Encoding 屬性所定義的內容之編碼方式的規格位置。

(繼承來源 SoapFaultBinding)
Parent

取得 ServiceDescriptionFormatExtension 的父系。

(繼承來源 ServiceDescriptionFormatExtension)
Required

取得或設定值,指出 ServiceDescriptionFormatExtension 對它所參考的動作是否是必要的。

(繼承來源 ServiceDescriptionFormatExtension)
Use

指定錯誤訊息是使用 Encoding 屬性所指定的規則來編碼,還是封裝於具體的 XML 結構描述 (Schema) 中。

(繼承來源 SoapFaultBinding)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於