IConstructionCallMessage Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the construction call request of an object.

Namespace:   System.Runtime.Remoting.Activation
Assembly:  mscorlib (in mscorlib.dll)

<ComVisibleAttribute(True)>
Public Interface IConstructionCallMessage
	Inherits IMethodCallMessage, IMethodMessage, IMessage

NameDescription
System_CAPS_pubpropertyActivationType

Gets the type of the remote object to activate.

System_CAPS_pubpropertyActivationTypeName

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

System_CAPS_pubpropertyActivator

Gets or sets the activator that activates the remote object.

System_CAPS_pubpropertyArgCount

Gets the number of arguments passed to the method.(Inherited from IMethodMessage.)

System_CAPS_pubpropertyArgs

Gets an array of arguments passed to the method.(Inherited from IMethodMessage.)

System_CAPS_pubpropertyCallSiteActivationAttributes

Gets the call site activation attributes.

System_CAPS_pubpropertyContextProperties

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

System_CAPS_pubpropertyHasVarArgs

Gets a value indicating whether the message has variable arguments.(Inherited from IMethodMessage.)

System_CAPS_pubpropertyInArgCount

Gets the number of arguments in the call that are not marked as out parameters.(Inherited from IMethodCallMessage.)

System_CAPS_pubpropertyInArgs

Gets an array of arguments that are not marked as out parameters.(Inherited from IMethodCallMessage.)

System_CAPS_pubpropertyLogicalCallContext

Gets the LogicalCallContext for the current method call.(Inherited from IMethodMessage.)

System_CAPS_pubpropertyMethodBase

Gets the MethodBase of the called method.(Inherited from IMethodMessage.)

System_CAPS_pubpropertyMethodName

Gets the name of the invoked method.(Inherited from IMethodMessage.)

System_CAPS_pubpropertyMethodSignature

Gets an object containing the method signature.(Inherited from IMethodMessage.)

System_CAPS_pubpropertyProperties

Gets an IDictionary that represents a collection of the message's properties.(Inherited from IMessage.)

System_CAPS_pubpropertyTypeName

Gets the full Type name of the specific object that the call is destined for.(Inherited from IMethodMessage.)

System_CAPS_pubpropertyUri

Gets the URI of the specific object that the call is destined for.(Inherited from IMethodMessage.)

NameDescription
System_CAPS_pubmethodGetArg(Int32)

Gets a specific argument as an Object.(Inherited from IMethodMessage.)

System_CAPS_pubmethodGetArgName(Int32)

Gets the name of the argument passed to the method.(Inherited from IMethodMessage.)

System_CAPS_pubmethodGetInArg(Int32)

Returns the specified argument that is not marked as an out parameter.(Inherited from IMethodCallMessage.)

System_CAPS_pubmethodGetInArgName(Int32)

Returns the name of the specified argument that is not marked as an out parameter.(Inherited from IMethodCallMessage.)

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
Available since 1.1
Return to top
Show: