語言

EnterpriseServicesHelper.CreateConstructionReturnMessage 方法

定義

從指定的 ReturnMessage構造 a 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 A 代表以構造呼叫在 中ctorMsg構造的物件。

傳回

IConstructionReturnMessage A 是從參數中指定的ctorMsg建構呼叫回傳的。

屬性

適用於