Export (0) Print
Expand All

MethodResponse Constructor

This constructor supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

This constructor is not CLS-compliant.  

Namespace: System.Runtime.Remoting.Messaging
Assembly: mscorlib (in mscorlib.dll)

public MethodResponse (
	Header[] h1,
	IMethodCallMessage mcm
)
public MethodResponse (
	Header[] h1, 
	IMethodCallMessage mcm
)
public function MethodResponse (
	h1 : Header[], 
	mcm : IMethodCallMessage
)

Parameters

h1

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

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

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft