MethodResponse.HeaderHandler(Header[]) 方法

定义

从应用到一个方法的远程处理标头数组初始化一个内部序列化处理程序。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);
public virtual object HeaderHandler (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
[<System.Security.SecurityCritical>]
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. 此数组用于初始化 MethodResponse 属于命名空间 " http://schemas.microsoft.com/clr/soap/messageProperties "的标头的字段。This array is used to initialize MethodResponse fields for headers that belong to the namespace "http://schemas.microsoft.com/clr/soap/messageProperties".

返回

Object

内部序列化处理程序。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.

适用于