語言

Soap12HeaderBinding 類別

定義

代表當 XML Web 服務支援 SOAP 協定 1.2 版本時,應用於 InputBinding or OutputBinding 的服務描述格式擴充。 此類別無法獲得繼承。

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
繼承
屬性

備註

此類別規定訊息(無論是抽象型別定義或具體結構定義)如何出現在 <Header> SOAP 訊息的元素中。

欲了解更多關於 XML 網路服務協定的規範,請參見 XML 網路服務使用 ASP.NET。 欲了解更多關於網路服務描述語言(WSDL)的資訊,請參閱 WSDL 規範。

建構函式

名稱 Description
Soap12HeaderBinding()

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

屬性

名稱 Description
Encoding

取得或設定一個 URI,代表用來編碼 SOAP 標頭的編碼風格。

(繼承來源 SoapHeaderBinding)
Fault

取得或設定 WSDL 文件 headerfault 中 SOAP 標頭中 XML 元素輸出的擴充型別。

(繼承來源 SoapHeaderBinding)
Handled

取得或設定一個值,表示在匯入擴充性元素匯入時是否會被 使用 。ServiceDescriptionFormatExtension

(繼承來源 ServiceDescriptionFormatExtension)
MapToProperty

取得或設定一個值,指示該實例是否 SoapHeaderBinding 映射到產生的代理類別中的特定屬性。

(繼承來源 SoapHeaderBinding)
Message

在適用的 Message XML 網路服務中,取得或設定一個指定名稱SoapHeaderBinding的值。

(繼承來源 SoapHeaderBinding)
Namespace

取得或設定代表未由 Encoding 屬性明確定義內容編碼規範的 URI。

(繼承來源 SoapHeaderBinding)
Parent

取得 的父 ServiceDescriptionFormatExtension節點。

(繼承來源 ServiceDescriptionFormatExtension)
Part

取得或設定一個值,指示 在 MessagePart XML Web 服務中適用於哪個SoapHeaderBinding。

(繼承來源 SoapHeaderBinding)
Required

取得或設定一個值,表示是否 ServiceDescriptionFormatExtension 對其所指動作是必要的。

(繼承來源 ServiceDescriptionFormatExtension)
Use

指定標頭是依照屬性指定的 Encoding 規則編碼,還是封裝在具體的 XML 架構中。

(繼承來源 SoapHeaderBinding)

方法

名稱 Description
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於