MethodCallMessageWrapper Class
This API supports the product infrastructure and is not intended to be used directly from your code.
Implements the IMethodCallMessage interface to create a request message that acts as a method call on a remote object.
Assembly: mscorlib (in mscorlib.dll)
System.Runtime.Remoting.Messaging::InternalMessageWrapper
System.Runtime.Remoting.Messaging::MethodCallMessageWrapper
| Name | Description | |
|---|---|---|
![]() | MethodCallMessageWrapper(IMethodCallMessage^) | This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the MethodCallMessageWrapper class by wrapping an IMethodCallMessage interface. |
| Name | Description | |
|---|---|---|
![]() | ArgCount | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the number of arguments passed to the method. |
![]() | Args | This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of arguments passed to the method. |
![]() | HasVarArgs | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value indicating whether the method can accept a variable number of arguments. |
![]() | InArgCount | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the number of arguments in the method call that are not marked as out parameters. |
![]() | InArgs | This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of arguments in the method call that are not marked as out parameters. |
![]() | LogicalCallContext | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the LogicalCallContext for the current method call. |
![]() | MethodBase | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the MethodBase of the called method. |
![]() | MethodName | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the name of the invoked method. |
![]() | MethodSignature | This API supports the product infrastructure and is not intended to be used directly from your code. Gets an object that contains the method signature. |
![]() | Properties | This API supports the product infrastructure and is not intended to be used directly from your code. An IDictionary that represents a collection of the remoting message's properties. |
![]() | TypeName | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the full type name of the remote object on which the method call is being made. |
![]() | Uri | This API supports the product infrastructure and is not intended to be used directly from your code. Gets 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(Int32) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a method argument, as an object, at a specified index. |
![]() | GetArgName(Int32) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the name of a method argument at a specified index. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetInArg(Int32) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets a method argument at a specified index that is not marked as an out parameter. |
![]() | GetInArgName(Int32) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the name of a method argument at a specified index that is not marked as an out parameter. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | WrappedMessage | This API supports the product infrastructure and is not intended to be used directly from your code. Represents the request or response IMethodMessage interface that is wrapped by the message wrapper. (Inherited from InternalMessageWrapper.) |
The MethodCallMessageWrapper class is used by the remoting infrastructure of the .NET Framework. You do not need to create an instance of the MethodCallMessageWrapper class directly; instead, use the IMethodCallMessage interface.
MethodCallMessageWrapper wraps remoting data for passing between message sinks. A remoting client sends a MethodCallMessageWrapper message to a server.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



