System.Runtime.Remoting.Activation.IConstructionCallMessage Structure

Represents the construction call request of an object.

See Also: IConstructionCallMessage Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public interface IConstructionCallMessage : System.Runtime.Remoting.Messaging.IMethodCallMessage

Remarks

When the user creates an instance of a new client-activated object by calling new or Activator.CreateInstance(Type, System.Reflection.BindingFlags, System.Reflection.Binder, Object[], System.Globalization.CultureInfo) and before the thread returns to the user code, a System.Runtime.Remoting.Activation.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 IConstructionCallMessage.Activator property) and a new object is created. The remoting application then returns a System.Runtime.Remoting.Activation.IConstructionReturnMessage to the local application. The System.Runtime.Remoting.Activation.IConstructionReturnMessage contains an instance of System.Runtime.Remoting.ObjRef, which packages information about the remote object. The remoting infrastructure converts the System.Runtime.Remoting.ObjRef instance into a proxy to the remote object, which is returned to the user code.

Requirements

Namespace: System.Runtime.Remoting.Activation
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0