MethodCallMessageWrapper MethodCallMessageWrapper MethodCallMessageWrapper MethodCallMessageWrapper Class

Definition

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

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class MethodCallMessageWrapper : System::Runtime::Remoting::Messaging::InternalMessageWrapper, System::Runtime::Remoting::Messaging::IMethodCallMessage
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public class MethodCallMessageWrapper : System.Runtime.Remoting.Messaging.InternalMessageWrapper, System.Runtime.Remoting.Messaging.IMethodCallMessage
type MethodCallMessageWrapper = class
    inherit InternalMessageWrapper
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
Public Class MethodCallMessageWrapper
Inherits InternalMessageWrapper
Implements IMethodCallMessage
Inheritance
MethodCallMessageWrapperMethodCallMessageWrapperMethodCallMessageWrapperMethodCallMessageWrapper
Attributes
Implements

Remarks

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.

Constructors

MethodCallMessageWrapper(IMethodCallMessage) MethodCallMessageWrapper(IMethodCallMessage) MethodCallMessageWrapper(IMethodCallMessage) MethodCallMessageWrapper(IMethodCallMessage)

Initializes a new instance of the MethodCallMessageWrapper class by wrapping an IMethodCallMessage interface.

Properties

ArgCount ArgCount ArgCount ArgCount

Gets the number of arguments passed to the method.

Args Args Args Args

Gets an array of arguments passed to the method.

HasVarArgs HasVarArgs HasVarArgs HasVarArgs

Gets a value indicating whether the method can accept a variable number of arguments.

InArgCount InArgCount InArgCount InArgCount

Gets the number of arguments in the method call that are not marked as out parameters.

InArgs InArgs InArgs InArgs

Gets an array of arguments in the method call that are not marked as out parameters.

LogicalCallContext LogicalCallContext LogicalCallContext LogicalCallContext

Gets the LogicalCallContext for the current method call.

MethodBase MethodBase MethodBase MethodBase

Gets the MethodBase of the called method.

MethodName MethodName MethodName MethodName

Gets the name of the invoked method.

MethodSignature MethodSignature MethodSignature MethodSignature

Gets an object that contains the method signature.

Properties Properties Properties Properties

An IDictionary that represents a collection of the remoting message's properties.

TypeName TypeName TypeName TypeName

Gets the full type name of the remote object on which the method call is being made.

Uri Uri Uri Uri

Gets the Uniform Resource Identifier (URI) of the remote object on which the method call is being made.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetArg(Int32) GetArg(Int32) GetArg(Int32) GetArg(Int32)

Gets a method argument, as an object, at a specified index.

GetArgName(Int32) GetArgName(Int32) GetArgName(Int32) GetArgName(Int32)

Gets the name of a method argument at a specified index.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInArg(Int32) GetInArg(Int32) GetInArg(Int32) GetInArg(Int32)

Gets a method argument at a specified index that is not marked as an out parameter.

GetInArgName(Int32) GetInArgName(Int32) GetInArgName(Int32) GetInArgName(Int32)

Gets the name of a method argument at a specified index that is not marked as an out parameter.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Fields

WrappedMessage WrappedMessage WrappedMessage WrappedMessage

Represents the request or response IMethodMessage interface that is wrapped by the message wrapper.

(Inherited from InternalMessageWrapper)

Applies to

See also