共用方式為


EnterpriseServicesHelper.CreateConstructionReturnMessage 方法

定義

從指定的 ReturnMessage 建構 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

參數

ctorMsg
IConstructionCallMessage

對物件的建構呼叫,新 ReturnMessage 執行個體正要從這物件傳回。

retObj
MarshalByRefObject

ObjRef,表示以 ctorMsg 中的建構呼叫來建構的物件。

傳回

ctorMsg 參數所指定之建構呼叫傳回的 IConstructionReturnMessage

屬性

適用於