MethodResponse(Header[], IMethodCallMessage) Constructor

Definition

Initializes a new instance of the MethodResponse class from an array of remoting headers and a request message.

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

C#
public MethodResponse(System.Runtime.Remoting.Messaging.Header[] h1, System.Runtime.Remoting.Messaging.IMethodCallMessage mcm);
C#
[System.Security.SecurityCritical]
public MethodResponse(System.Runtime.Remoting.Messaging.Header[] h1, System.Runtime.Remoting.Messaging.IMethodCallMessage mcm);

Parameters

h1
Header[]

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

mcm
IMethodCallMessage

A request message that acts as a method call on a remote object.

Attributes

Remarks

The MethodResponse class is used by the remoting infrastructure of the .NET Framework. You do not need to create an instance of the MethodResponse class directly; instead, use the IMethodReturnMessage interface.

Applies to

Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1