Export (0) Print
Expand All

EnterpriseServicesHelper.CreateConstructionReturnMessage Method

Constructs a ReturnMessage from the specified IConstructionCallMessage.

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

[ComVisibleAttribute(true)]
public static IConstructionReturnMessage CreateConstructionReturnMessage(
	IConstructionCallMessage ctorMsg,
	MarshalByRefObject retObj
)

Parameters

ctorMsg
Type: System.Runtime.Remoting.Activation.IConstructionCallMessage

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

retObj
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft