System.Runtime.Remoting.Proxies.RealProxy.InitializeServerObject Method

Initializes a new instance of the object Type of the remote object that the current instance of System.Runtime.Remoting.Proxies.RealProxy represents with the specified System.Runtime.Remoting.Activation.IConstructionCallMessage.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public System.Runtime.Remoting.Activation.IConstructionReturnMessage InitializeServerObject (System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg)

Parameters

ctorMsg
A construction call message that contains the constructor parameters for the new instance of the remote object that is represented by the current System.Runtime.Remoting.Proxies.RealProxy. Can be null.

Returns

The result of the construction request.

Remarks

If the ctorMsg parameter is null, then the RealProxy.InitializeServerObject(System.Runtime.Remoting.Activation.IConstructionCallMessage) method calls the default constructor for the new instance of the remote object that is represented by the current System.Runtime.Remoting.Proxies.RealProxy.

Requirements

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