ConstructionCall Class

Definition

Important

This API is not CLS-compliant.

Implements the IConstructionCallMessage interface to create a request message that constitutes a constructor 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 ConstructionCall : System::Runtime::Remoting::Messaging::MethodCall, System::Runtime::Remoting::Activation::IConstructionCallMessage
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
[System.Serializable]
public class ConstructionCall : System.Runtime.Remoting.Messaging.MethodCall, System.Runtime.Remoting.Activation.IConstructionCallMessage
type ConstructionCall = class
    inherit MethodCall
    interface IConstructionCallMessage
    interface IMessage
    interface IMethodCallMessage
    interface IMethodMessage
Public Class ConstructionCall
Inherits MethodCall
Implements IConstructionCallMessage
Inheritance
ConstructionCall
Attributes
Implements

Remarks

The ConstructionCall class is used by the remoting infrastructure of the .NET Framework. You do not need to create an instance of the ConstructionCall class directly; instead, use the IConstructionCallMessage interface.

A remoting client sends a ConstructionCall message to a server when attempting to create an instance of a client-activated remote class.

Constructors

ConstructionCall(Header[])

Initializes a new instance of the ConstructionCall class from an array of remoting headers.

ConstructionCall(IMessage)

Initializes a new instance of the ConstructionCall class by copying an existing message.

Fields

ExternalProperties

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

(Inherited from MethodCall)
InternalProperties

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

(Inherited from MethodCall)

Properties

ActivationType

Gets the type of the remote object to activate.

ActivationTypeName

Gets the full type name of the remote object to activate.

Activator

Gets or sets the activator that activates the remote object.

ArgCount

Gets the number of arguments passed to a method.

(Inherited from MethodCall)
Args

Gets an array of arguments passed to a method.

(Inherited from MethodCall)
CallSiteActivationAttributes

Gets the call site activation attributes for the remote object.

ContextProperties

Gets a list of properties that define the context in which the remote object is to be created.

HasVarArgs

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

(Inherited from MethodCall)
InArgCount

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

(Inherited from MethodCall)
InArgs

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

(Inherited from MethodCall)
LogicalCallContext

Gets the LogicalCallContext for the current method call.

(Inherited from MethodCall)
MethodBase

Gets the MethodBase of the called method.

(Inherited from MethodCall)
MethodName

Gets the name of the invoked method.

(Inherited from MethodCall)
MethodSignature

Gets an object that contains the method signature.

(Inherited from MethodCall)
Properties

Gets an IDictionary interface that represents a collection of the remoting message's properties.

TypeName

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

(Inherited from MethodCall)
Uri

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

(Inherited from MethodCall)

Methods

Equals(Object)

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

(Inherited from Object)
GetArg(Int32)

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

(Inherited from MethodCall)
GetArgName(Int32)

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

(Inherited from MethodCall)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInArg(Int32)

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

(Inherited from MethodCall)
GetInArgName(Int32)

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

(Inherited from MethodCall)
GetObjectData(SerializationInfo, StreamingContext)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HeaderHandler(Header[])

Initializes an internal serialization handler from an array of remoting headers that are applied to a method.

(Inherited from MethodCall)
Init()

Initializes a MethodCall.

(Inherited from MethodCall)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ResolveMethod()

Sets method information from previously initialized remoting message properties.

(Inherited from MethodCall)
RootSetObjectData(SerializationInfo, StreamingContext)

Sets method information from serialization settings.

(Inherited from MethodCall)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also