共用方式為


SoapHeaderHandling 類別

定義

SoapHeaderHandling 類別用於取得、設定、寫入和讀取 SOAP 訊息往來的 SOAP 標頭內容。

public ref class SoapHeaderHandling sealed
public sealed class SoapHeaderHandling
type SoapHeaderHandling = class
Public NotInheritable Class SoapHeaderHandling
繼承
SoapHeaderHandling

建構函式

名稱 Description
SoapHeaderHandling()

初始化 SoapHeaderHandling 的新執行個體。

方法

名稱 Description
EnsureHeadersUnderstood(SoapHeaderCollection)

檢查以確保已經辨認了必須辨認的 SOAP 標頭,否則,這個方法就會擲回例外狀況。

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetHeaderMembers(SoapHeaderCollection, Object, SoapHeaderMapping[], SoapHeaderDirection, Boolean)

取得指定 SOAP 訊息的 SOAP 標頭內容。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ReadHeaders(XmlReader, XmlSerializer, SoapHeaderCollection, SoapHeaderMapping[], SoapHeaderDirection, String, String, Boolean)

傳回 String,其中包含 SOAP 訊息的 SOAP 標頭內容。

SetHeaderMembers(SoapHeaderCollection, Object, SoapHeaderMapping[], SoapHeaderDirection, Boolean)

設定指定 SOAP 訊息的 SOAP 標頭內容。

ToString()

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

(繼承來源 Object)
WriteHeaders(XmlWriter, XmlSerializer, SoapHeaderCollection, SoapHeaderMapping[], SoapHeaderDirection, Boolean, String, Boolean, String)

將指定的 SOAP 標頭內容寫入 SOAP 訊息。

WriteUnknownHeaders(XmlWriter, SoapHeaderCollection, String)

將指定的 SOAP 標頭內容寫入 SOAP 訊息。

適用於