Επεξεργασία

Κοινή χρήση μέσω


IConstructionCallMessage Interface

Definition

Represents the construction call request of an object.

public interface class IConstructionCallMessage : System::Runtime::Remoting::Messaging::IMethodCallMessage
public interface IConstructionCallMessage : System.Runtime.Remoting.Messaging.IMethodCallMessage
[System.Runtime.InteropServices.ComVisible(true)]
public interface IConstructionCallMessage : System.Runtime.Remoting.Messaging.IMethodCallMessage
type IConstructionCallMessage = interface
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
[<System.Runtime.InteropServices.ComVisible(true)>]
type IConstructionCallMessage = interface
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
Public Interface IConstructionCallMessage
Implements IMethodCallMessage
Derived
Attributes
Implements

Remarks

When the user creates an instance of a new client-activated object by calling new or Activator.CreateInstance and before the thread returns to the user code, a IConstructionCallMessage is sent to the remote application. When the construction message arrives at the remote application, it is processed by a remoting activator (either the default one, or one that is specified in the Activator property) and a new object is created. The remoting application then returns a IConstructionReturnMessage to the local application. The IConstructionReturnMessage contains an instance of ObjRef, which packages information about the remote object. The remoting infrastructure converts the ObjRef instance into a proxy to the remote object, which is returned to the user code.

Properties

ActivationType

Gets the type of the remote object to activate.

ActivationTypeName

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

Activator

Gets or sets the activator that activates the remote object.

ArgCount

Gets the number of arguments passed to the method.

(Inherited from IMethodMessage)
Args

Gets an array of arguments passed to the method.

(Inherited from IMethodMessage)
CallSiteActivationAttributes

Gets the call site activation attributes.

ContextProperties

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

HasVarArgs

Gets a value indicating whether the message has variable arguments.

(Inherited from IMethodMessage)
InArgCount

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

(Inherited from IMethodCallMessage)
InArgs

Gets an array of arguments that are not marked as out parameters.

(Inherited from IMethodCallMessage)
LogicalCallContext

Gets the LogicalCallContext for the current method call.

(Inherited from IMethodMessage)
MethodBase

Gets the MethodBase of the called method.

(Inherited from IMethodMessage)
MethodName

Gets the name of the invoked method.

(Inherited from IMethodMessage)
MethodSignature

Gets an object containing the method signature.

(Inherited from IMethodMessage)
Properties

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

(Inherited from IMessage)
TypeName

Gets the full Type name of the specific object that the call is destined for.

(Inherited from IMethodMessage)
Uri

Gets the URI of the specific object that the call is destined for.

(Inherited from IMethodMessage)

Methods

GetArg(Int32)

Gets a specific argument as an Object.

(Inherited from IMethodMessage)
GetArgName(Int32)

Gets the name of the argument passed to the method.

(Inherited from IMethodMessage)
GetInArg(Int32)

Returns the specified argument that is not marked as an out parameter.

(Inherited from IMethodCallMessage)
GetInArgName(Int32)

Returns the name of the specified argument that is not marked as an out parameter.

(Inherited from IMethodCallMessage)

Applies to