MethodCall Class
Implements the IMethodCallMessage interface to create a request message that acts as a method call on a remote object.
System.Runtime.Remoting.Messaging::MethodCall
System.Runtime.Remoting.Messaging::ConstructionCall
Assembly: mscorlib (in mscorlib.dll)
The MethodCall type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | MethodCall(array<Header>) | Infrastructure. Initializes a new instance of the MethodCall class from an array of remoting headers. |
![]() | MethodCall(IMessage) | Infrastructure. Initializes a new instance of the MethodCall class by copying an existing message. |
| Name | Description | |
|---|---|---|
![]() | ArgCount | Infrastructure. Gets the number of arguments passed to a method. |
![]() | Args | Infrastructure. Gets an array of arguments passed to a method. |
![]() | HasVarArgs | Infrastructure. Gets a value that indicates whether the method can accept a variable number of arguments. |
![]() | InArgCount | Infrastructure. Gets the number of arguments in the method call that are not marked as out parameters. |
![]() | InArgs | Infrastructure. Gets an array of arguments in the method call that are not marked as out parameters. |
![]() | LogicalCallContext | Infrastructure. Gets the LogicalCallContext for the current method call. |
![]() | MethodBase | Infrastructure. Gets the MethodBase of the called method. |
![]() | MethodName | Infrastructure. Gets the name of the invoked method. |
![]() | MethodSignature | Infrastructure. Gets an object that contains the method signature. |
![]() | Properties | Infrastructure. Gets an IDictionary interface that represents a collection of the remoting message's properties. |
![]() | TypeName | Infrastructure. Gets the full type name of the remote object on which the method call is being made. |
![]() | Uri | Infrastructure. Gets or sets the Uniform Resource Identifier (URI) of the remote object on which the method call is being made. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetArg | Infrastructure. Gets a method argument, as an object, at a specified index. |
![]() | GetArgName | Infrastructure. Gets the name of a method argument at a specified index. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetInArg | Infrastructure. Gets a method argument at a specified index that is not marked as an out parameter. |
![]() | GetInArgName | Infrastructure. Gets the name of a method argument at a specified index that is not marked as an out parameter. |
![]() | GetObjectData | Infrastructure. The GetObjectData method is not implemented. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HeaderHandler | Infrastructure. Initializes an internal serialization handler from an array of remoting headers that are applied to a method. |
![]() | Init | Infrastructure. Initializes a MethodCall. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ResolveMethod | Infrastructure. Sets method information from previously initialized remoting message properties. |
![]() | RootSetObjectData | Infrastructure. Sets method information from serialization settings. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | ExternalProperties | Infrastructure. An IDictionary interface that represents a collection of the remoting message's properties. |
![]() | InternalProperties | Infrastructure. An IDictionary interface that represents a collection of the remoting message's properties. |
The MethodCall class is used by the remoting infrastructure of the .NET Framework. You do not need to create an instance of the MethodCall class directly; instead, use the IMethodCallMessage interface.
MethodCall contains remoting data that is passed between message sinks. A remoting client sends a MethodCall message to a server.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
