MethodResponse Class
Implements the IMethodReturnMessage interface to create a message that acts as a method response on a remote object.
Assembly: mscorlib (in mscorlib.dll)
'Declaration <SerializableAttribute> _ <CLSCompliantAttribute(False)> _ <ComVisibleAttribute(True)> _ <SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags := SecurityPermissionFlag.Infrastructure)> _ <SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.Infrastructure)> _ Public Class MethodResponse _ Implements IMethodReturnMessage, IMethodMessage, IMessage, ISerializable 'Usage Dim instance As MethodResponse
A MethodResponse is generated as a result of a method called on a remote object, and is used to return the results of the method call back to the caller. The message includes a return value and out arguments.
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.
MethodResponse contains remoting data at the end of the message sink. A remoting server returns a MethodResponse message to a client.
System.Runtime.Remoting.Messaging.MethodResponse
System.Runtime.Remoting.Messaging.ConstructionResponse
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.