This topic has not yet been rated - Rate this topic

IConstructionCallMessage Interface

Represents the construction call request of an object.

Namespace:  System.Runtime.Remoting.Activation
Assembly:  mscorlib (in mscorlib.dll)
[ComVisibleAttribute(true)]
public interface IConstructionCallMessage : IMethodCallMessage, 
	IMethodMessage, IMessage

The IConstructionCallMessage type exposes the following members.

  Name Description
Public property ActivationType Gets the type of the remote object to activate.
Public property ActivationTypeName Gets the full type name of the remote type to activate.
Public property Activator Gets or sets the activator that activates the remote object.
Public property ArgCount Gets the number of arguments passed to the method. (Inherited from IMethodMessage.)
Public property Args Gets an array of arguments passed to the method. (Inherited from IMethodMessage.)
Public property CallSiteActivationAttributes Gets the call site activation attributes.
Public property ContextProperties Gets a list of context properties that define the context in which the object is to be created.
Public property HasVarArgs Gets a value indicating whether the message has variable arguments. (Inherited from IMethodMessage.)
Public property InArgCount Gets the number of arguments in the call that are not marked as out parameters. (Inherited from IMethodCallMessage.)
Public property InArgs Gets an array of arguments that are not marked as out parameters. (Inherited from IMethodCallMessage.)
Public property LogicalCallContext Gets the LogicalCallContext for the current method call. (Inherited from IMethodMessage.)
Public property MethodBase Gets the MethodBase of the called method. (Inherited from IMethodMessage.)
Public property MethodName Gets the name of the invoked method. (Inherited from IMethodMessage.)
Public property MethodSignature Gets an object containing the method signature. (Inherited from IMethodMessage.)
Public property Properties Gets an IDictionary that represents a collection of the message's properties. (Inherited from IMessage.)
Public property TypeName Gets the full Type name of the specific object that the call is destined for. (Inherited from IMethodMessage.)
Public property Uri Gets the URI of the specific object that the call is destined for. (Inherited from IMethodMessage.)
Top
  Name Description
Public method GetArg Gets a specific argument as an Object. (Inherited from IMethodMessage.)
Public method GetArgName Gets the name of the argument passed to the method. (Inherited from IMethodMessage.)
Public method GetInArg Returns the specified argument that is not marked as an out parameter. (Inherited from IMethodCallMessage.)
Public method GetInArgName Returns the name of the specified argument that is not marked as an out parameter. (Inherited from IMethodCallMessage.)
Top

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ