MethodResponse.HeaderHandler(Header[]) 方法

定義

從套用至方法的遠端標頭陣列,初始化內部序列化 (Serialization) 處理常式。Initializes an internal serialization handler from an array of remoting headers that are applied to a method.

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 virtual System::Object ^ HeaderHandler(cli::array <System::Runtime::Remoting::Messaging::Header ^> ^ h);
[System.Security.SecurityCritical]
public virtual object HeaderHandler (System.Runtime.Remoting.Messaging.Header[] h);
abstract member HeaderHandler : System.Runtime.Remoting.Messaging.Header[] -> obj
override this.HeaderHandler : System.Runtime.Remoting.Messaging.Header[] -> obj
Public Overridable Function HeaderHandler (h As Header()) As Object

參數

h
Header[]

包含索引鍵/值組的遠端標頭陣列。An array of remoting headers that contain key/value pairs. 這個陣列會用來初始化屬於命名空間 "http://schemas.microsoft.com/clr/soap/messageProperties" 標頭的 MethodResponse 欄位。This array is used to initialize MethodResponse fields for headers that belong to the namespace "http://schemas.microsoft.com/clr/soap/messageProperties".

傳回

內部序列化處理常式。An internal serialization handler.

屬性

備註

方法屬於遠端物件。The method belongs to a remote object. 輸入陣列中第一個標頭的值是方法名稱。The value of the first header in the input array is the method name.

適用於