System.Runtime.Remoting.Messaging.MethodResponse Class

Implements the System.Runtime.Remoting.Messaging.IMethodReturnMessage interface to create a message that acts as a method response on a remote object.

See Also: MethodResponse Members

Syntax

[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public class MethodResponse : IInternalMessage, IMethodReturnMessage, ISerializationRootObject, System.Runtime.Serialization.ISerializable

Remarks

A System.Runtime.Remoting.Messaging.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 System.Runtime.Remoting.Messaging.MethodResponse class is used by the remoting infrastructure of the .NET Framework. You do not need to create an instance of the System.Runtime.Remoting.Messaging.MethodResponse class directly; instead, use the System.Runtime.Remoting.Messaging.IMethodReturnMessage interface.

System.Runtime.Remoting.Messaging.MethodResponse contains remoting data at the end of the message sink. A remoting server returns a System.Runtime.Remoting.Messaging.MethodResponse message to a client.

Requirements

Namespace: System.Runtime.Remoting.Messaging
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0