Bewerken

Delen via


EnterpriseServicesHelper.CreateConstructionReturnMessage Method

Definition

Constructs a ReturnMessage from the specified IConstructionCallMessage.

public:
 static System::Runtime::Remoting::Activation::IConstructionReturnMessage ^ CreateConstructionReturnMessage(System::Runtime::Remoting::Activation::IConstructionCallMessage ^ ctorMsg, MarshalByRefObject ^ retObj);
public static System.Runtime.Remoting.Activation.IConstructionReturnMessage CreateConstructionReturnMessage (System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg, MarshalByRefObject retObj);
[System.Runtime.InteropServices.ComVisible(true)]
public static System.Runtime.Remoting.Activation.IConstructionReturnMessage CreateConstructionReturnMessage (System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg, MarshalByRefObject retObj);
static member CreateConstructionReturnMessage : System.Runtime.Remoting.Activation.IConstructionCallMessage * MarshalByRefObject -> System.Runtime.Remoting.Activation.IConstructionReturnMessage
[<System.Runtime.InteropServices.ComVisible(true)>]
static member CreateConstructionReturnMessage : System.Runtime.Remoting.Activation.IConstructionCallMessage * MarshalByRefObject -> System.Runtime.Remoting.Activation.IConstructionReturnMessage
Public Shared Function CreateConstructionReturnMessage (ctorMsg As IConstructionCallMessage, retObj As MarshalByRefObject) As IConstructionReturnMessage

Parameters

ctorMsg
IConstructionCallMessage

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

retObj
MarshalByRefObject

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

Returns

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

Attributes

Applies to