MethodCall Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
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 MethodCall : System::Runtime::Remoting::Messaging::IMethodCallMessage, System::Runtime::Serialization::ISerializable
[System.CLSCompliant(false)]
[System.Serializable]
public class MethodCall : System.Runtime.Remoting.Messaging.IMethodCallMessage, System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class MethodCall : System.Runtime.Remoting.Messaging.IMethodCallMessage, System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public class MethodCall : System.Runtime.Remoting.Messaging.IMethodCallMessage, System.Runtime.Serialization.ISerializable
[<System.CLSCompliant(false)>]
[<System.Serializable>]
type MethodCall = class
interface IMethodCallMessage
interface IMethodMessage
interface IMessage
interface ISerializable
[<System.CLSCompliant(false)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type MethodCall = class
interface IMethodCallMessage
interface IMethodMessage
interface IMessage
interface ISerializable
[<System.CLSCompliant(false)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type MethodCall = class
interface IMethodCallMessage
interface IMethodMessage
interface IMessage
interface ISerializable
Public Class MethodCall
Implements IMethodCallMessage, ISerializable
- Inheritance
-
MethodCall
- Derived
- Attributes
- Implements
Remarks
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.
Constructors
MethodCall(Header[]) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the MethodCall class from an array of remoting headers. |
MethodCall(IMessage) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the MethodCall class by copying an existing message. |
Fields
ExternalProperties |
This API supports the product infrastructure and is not intended to be used directly from your code. An IDictionary interface that represents a collection of the remoting message's properties. |
InternalProperties |
This API supports the product infrastructure and is not intended to be used directly from your code. An IDictionary interface that represents a collection of the remoting message's properties. |
Properties
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 a 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 a method. |
HasVarArgs |
This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value that indicates 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 |
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 |
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. Gets an IDictionary interface 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 or sets the Uniform Resource Identifier (URI) of the remote object on which the method call is being made. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (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 |
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 |
GetObjectData(SerializationInfo, StreamingContext) |
This API supports the product infrastructure and is not intended to be used directly from your code. The GetObjectData(SerializationInfo, StreamingContext) method is not implemented. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
HeaderHandler(Header[]) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes an internal serialization handler from an array of remoting headers that are applied to a method. |
Init() |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a MethodCall. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ResolveMethod() |
This API supports the product infrastructure and is not intended to be used directly from your code. Sets method information from previously initialized remoting message properties. |
RootSetObjectData(SerializationInfo, StreamingContext) |
This API supports the product infrastructure and is not intended to be used directly from your code. Sets method information from serialization settings. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |