Share via


Soap12HeaderBinding 類別

定義

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

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 服務的通訊協定的詳細資訊,請參閱 使用 ASP.NET 的 XML Web 服務。 如需 Web 服務描述語言 (WSDL) 的詳細資訊,請參閱 WSDL 規格。

建構函式

Soap12HeaderBinding()

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

屬性

Encoding

取得或設定 URI,表示用來編碼 SOAP 標頭的編碼樣式。

(繼承來源 SoapHeaderBinding)
Fault

取得或設定擴充類型,它控制 SOAP 標頭 headerfault XML 項目的 WSDL 文件輸出。

(繼承來源 SoapHeaderBinding)
Handled

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

(繼承來源 ServiceDescriptionFormatExtension)
MapToProperty

取得或設定值,指出 SoapHeaderBinding 執行個體 (Instance) 是否對應至產生的 Proxy 類別的特定屬性。

(繼承來源 SoapHeaderBinding)
Message

取得或設定數值,指定 Message 套用至的 XML Web Service 內的 SoapHeaderBinding 的名稱。

(繼承來源 SoapHeaderBinding)
Namespace

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

(繼承來源 SoapHeaderBinding)
Parent

取得 ServiceDescriptionFormatExtension 的父系。

(繼承來源 ServiceDescriptionFormatExtension)
Part

取得或設定值,指出 MessagePart 套用至 XML Web Service 內的哪個 SoapHeaderBinding

(繼承來源 SoapHeaderBinding)
Required

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

(繼承來源 ServiceDescriptionFormatExtension)
Use

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

(繼承來源 SoapHeaderBinding)

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於