System.Runtime.Remoting.Messaging.MethodCall Class

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Messaging
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
Summary
Reserved class, for internal use only.
This class is not CLS Compliant

C# Syntax:
[CLSCompliant(false)]
[Serializable]
public class MethodCall : IMethodCallMessage, IMethodMessage, IMessage, ISerializable
See also:
System.Runtime.Remoting.Messaging Namespace

System.Runtime.Remoting.Messaging.MethodCall Member List:

Public Constructors
ctor #1 Overloaded:
.ctor(Header[] h1)

Initializes a new MethodCall.
ctor #2 Overloaded:
.ctor(IMessage msg)

Initializes a new MethodCall.
Public Properties
ArgCount Read-only

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
Args Read-only

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
HasVarArgs Read-only

InArgCount Read-only

The number of arguments.
InArgs Read-only

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
LogicalCallContext Read-only

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
MethodBase Read-only

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
MethodName Read-only

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
MethodSignature Read-only

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
Properties Read-only

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
TypeName Read-only

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
Uri Read-write

Get or set the Uniform Resource Identifier (URI) of a specific instance of an object.
Public Methods
Equals
(inherited from System.Object)
See base class member description: System.Object.Equals

Derived from System.Object, the primary base class for all objects.
GetArg Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
GetArgName Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
GetHashCode
(inherited from System.Object)
See base class member description: System.Object.GetHashCode

Derived from System.Object, the primary base class for all objects.
GetInArg Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
GetInArgName Return the name of a specific argument.
GetObjectData Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
HeaderHandler Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
Init Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
ResolveMethod Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
RootSetObjectData Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
ToString
(inherited from System.Object)
See base class member description: System.Object.ToString

Derived from System.Object, the primary base class for all objects.
Protected Fields
ExternalProperties Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
InternalProperties Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Runtime.Remoting.Messaging.MethodCall Member Details

Overloaded ctor #1
Summary
Initializes a new MethodCall.
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public MethodCall(
   Header[] h1
);
Parameters:

h1

the header array

Return to top


Overloaded ctor #2
Summary
Initializes a new MethodCall.
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public MethodCall(
   IMessage msg
);
Parameters:

msg

the message

Return to top


Field: ExternalProperties
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
protected IDictionary ExternalProperties;

Return to top


Field: InternalProperties
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
protected IDictionary InternalProperties;

Return to top


Property: ArgCount (read-only)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public int ArgCount {get;}
Implements:
IMethodMessage.ArgCount

Return to top


Property: Args (read-only)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public object[] Args {get;}
Implements:
IMethodMessage.Args

Return to top


Property: HasVarArgs (read-only)
Summary
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public bool HasVarArgs {get;}
Implements:
IMethodMessage.HasVarArgs

Return to top


Property: InArgCount (read-only)
Summary
The number of arguments.
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public int InArgCount {get;}
Implements:
IMethodCallMessage.InArgCount

Return to top


Property: InArgs (read-only)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public object[] InArgs {get;}
Implements:
IMethodCallMessage.InArgs

Return to top


Property: LogicalCallContext (read-only)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public LogicalCallContext LogicalCallContext {get;}
Implements:
IMethodMessage.LogicalCallContext

Return to top


Property: MethodBase (read-only)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public MethodBase MethodBase {get;}
Implements:
IMethodMessage.MethodBase

Return to top


Property: MethodName (read-only)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public string MethodName {get;}
Implements:
IMethodMessage.MethodName

Return to top


Property: MethodSignature (read-only)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public object MethodSignature {get;}
Implements:
IMethodMessage.MethodSignature

Return to top


Property: Properties (read-only)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public virtual IDictionary Properties {get;}
Implements:
IMessage.Properties

Return to top


Property: TypeName (read-only)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public string TypeName {get;}
Implements:
IMethodMessage.TypeName

Return to top


Property: Uri (read-write)
Summary
Get or set the Uniform Resource Identifier (URI) of a specific instance of an object.
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public string Uri {get; set;}
Implements:
IMethodMessage.Uri

Return to top


Method: Equals(
   object obj
)
Inherited
See base class member description: System.Object.Equals
This class is not CLS Compliant

C# Syntax:
public virtual bool Equals(
   object obj
);

For more information on members inherited from System.Object click on the link above.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
This class is not CLS Compliant

C# Syntax:
~MethodCall();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetArg(
   int argNum
)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public object GetArg(
   int argNum
);
Parameters:

argNum

Implements:
IMethodMessage.GetArg

Return to top


Method: GetArgName(
   int index
)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public string GetArgName(
   int index
);
Parameters:

index

Implements:
IMethodMessage.GetArgName

Return to top


Method: GetHashCode()
Inherited
See base class member description: System.Object.GetHashCode
This class is not CLS Compliant

C# Syntax:
public virtual int GetHashCode();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetInArg(
   int argNum
)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public object GetInArg(
   int argNum
);
Parameters:

argNum

Implements:
IMethodCallMessage.GetInArg

Return to top


Method: GetInArgName(
   int index
)
Summary
Return the name of a specific argument.
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public string GetInArgName(
   int index
);
Parameters:

index

0-based index of argument name to get.

Return Value:
A string representing the name of the argument specified or null if this method is not implemented.
Implements:
IMethodCallMessage.GetInArgName

Return to top


Method: GetObjectData(
   SerializationInfo info,
   StreamingContext context
)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public void GetObjectData(
   SerializationInfo info,
   StreamingContext context
);
Parameters:

info

context

Implements:
ISerializable.GetObjectData

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
This class is not CLS Compliant

C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: HeaderHandler(
   Header[] h
)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public virtual object HeaderHandler(
   Header[] h
);
Parameters:

h

Return to top


Method: Init()
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public virtual void Init();
Remarks
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
This class is not CLS Compliant

C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ResolveMethod()
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public void ResolveMethod();

Return to top


Method: RootSetObjectData(
   SerializationInfo info,
   StreamingContext ctx
)
Summary
Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
This class is not CLS Compliant

C# Syntax:
public void RootSetObjectData(
   SerializationInfo info,
   StreamingContext ctx
);
Parameters:

info

ctx

Return to top


Method: ToString()
Inherited
See base class member description: System.Object.ToString
This class is not CLS Compliant

C# Syntax:
public virtual string ToString();

For more information on members inherited from System.Object click on the link above.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.