HeaderHandler HeaderHandler HeaderHandler HeaderHandler Delegate

定義

表示在還原序列化 (Deserialization) 期間將會處理資料流上標頭處理的方法。Represents the method that will handle processing of headers on the stream during deserialization.

public delegate System::Object ^ HeaderHandler(cli::array <Header ^> ^ headers);
[System.Runtime.InteropServices.ComVisible(true)]
public delegate object HeaderHandler(Header[] headers);
type HeaderHandler = delegate of Header[] -> obj
Public Delegate Function HeaderHandler(headers As Header()) As Object 

參數

headers
Header[]

事件的標頭。The headers of the event.

傳回值

System.Object

Object,傳達遠端函式呼叫的相關資訊。A Object that conveys information about a remote function call.

繼承
HeaderHandlerHeaderHandlerHeaderHandlerHeaderHandler
屬性

備註

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

當您建立HeaderHandler,就可以識別即將處理此事件的方法。When you create a HeaderHandler, you identify the method that will handle the event. 如需概觀,請參閱處理和引發事件For an overview, see Handling and Raising Events.

擴充方法

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

取得表示特定委派所代表之方法的物件。Gets an object that represents the method represented by the specified delegate.

適用於