Header 類別

定義

定義呼叫的 Out-of-Band Data。Defines the out-of-band data for a call.

public ref class Header
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public class Header
type Header = class
Public Class Header
繼承
Header
屬性

備註

Header物件是用來傳達遠端函式呼叫的相關資訊 (例如, 交易識別碼或方法簽章)。Header objects are used to convey information about a remote function call (for example, transaction ID or a method signature). 如需詳細資訊,請參閱 BinaryFormatterSoapFormatterFor more information, see BinaryFormatter and SoapFormatter.

建構函式

Header(String, Object)

使用指定的名稱和值,初始化 Header 類別的新執行個體。Initializes a new instance of the Header class with the given name and value.

Header(String, Object, Boolean)

使用指定的名稱、值和額外組態資訊,初始化 Header 類別的新執行個體。Initializes a new instance of the Header class with the given name, value, and additional configuration information.

Header(String, Object, Boolean, String)

初始化 Header 類別的新執行個體。Initializes a new instance of the Header class.

欄位

HeaderNamespace

指示目前 Header 所屬的 XML 命名空間。Indicates the XML namespace that the current Header belongs to.

MustUnderstand

指示接收端是否必須了解 Out-of-Band Data。Indicates whether the receiving end must understand the out-of-band data.

Name

包含 Header 的名稱。Contains the name of the Header.

Value

包含 Header 的值。Contains the value for the Header.

方法

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)

適用於

另請參閱