EnterpriseServicesHelper.CreateConstructionReturnMessage Method (IConstructionCallMessage, MarshalByRefObject)


Constructs a ReturnMessage from the specified IConstructionCallMessage.

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

public static IConstructionReturnMessage CreateConstructionReturnMessage(
	IConstructionCallMessage ctorMsg,
	MarshalByRefObject retObj


Type: System.Runtime.Remoting.Activation.IConstructionCallMessage

A construction call to the object from which the new ReturnMessage instance is returning.

Type: System.MarshalByRefObject

A ObjRef that represents the object that is constructed with the construction call in ctorMsg.

Return Value

Type: System.Runtime.Remoting.Activation.IConstructionReturnMessage

A IConstructionReturnMessage returned from the construction call that is specified in the ctorMsg parameter.

.NET Framework
Available since 1.1
Return to top