Редагувати

Поділитися через


MethodCall.HeaderHandler(Header[]) Method

Definition

Initializes an internal serialization handler from an array of remoting headers that are applied to a method.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

h
Header[]

An array of remoting headers that contain key/value pairs. This array is used to initialize MethodCall fields for headers that belong to the namespace "http://schemas.microsoft.com/clr/soap/messageProperties".

Returns

An internal serialization handler.

Attributes

Remarks

The method belongs to a remote object. The value of the first header in the input array is the method name.

Applies to