System.Runtime.Remoting.Messaging.MethodCall Class

Implements the System.Runtime.Remoting.Messaging.IMethodCallMessage interface to create a request message that acts as a method call on a remote object.

See Also: MethodCall Members

Syntax

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

Remarks

The System.Runtime.Remoting.Messaging.MethodCall 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.MethodCall class directly; instead, use the System.Runtime.Remoting.Messaging.IMethodCallMessage interface.

System.Runtime.Remoting.Messaging.MethodCall contains remoting data that is passed between message sinks. A remoting client sends a System.Runtime.Remoting.Messaging.MethodCall message to a server.

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