Поделиться через


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.

Возвращаемое значение

IConstructionReturnMessage, возвращенное из вызова конструирования, заданного в параметре ctorMsg.

Атрибуты

Применяется к