IActivator.Activate(IConstructionCallMessage) 方法

定义

创建在提供的 IConstructionCallMessage 中指定的对象的实例。

public:
 System::Runtime::Remoting::Activation::IConstructionReturnMessage ^ Activate(System::Runtime::Remoting::Activation::IConstructionCallMessage ^ msg);
public System.Runtime.Remoting.Activation.IConstructionReturnMessage Activate (System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
[System.Security.SecurityCritical]
public System.Runtime.Remoting.Activation.IConstructionReturnMessage Activate (System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
abstract member Activate : System.Runtime.Remoting.Activation.IConstructionCallMessage -> System.Runtime.Remoting.Activation.IConstructionReturnMessage
[<System.Security.SecurityCritical>]
abstract member Activate : System.Runtime.Remoting.Activation.IConstructionCallMessage -> System.Runtime.Remoting.Activation.IConstructionReturnMessage
Public Function Activate (msg As IConstructionCallMessage) As IConstructionReturnMessage

参数

msg
IConstructionCallMessage

激活对象所需的对象信息,存储在 IConstructionCallMessage 中。

返回

包含在 IConstructionReturnMessage 中的对象激活的状态。

属性

例外

直接调用方没有基础结构权限。

适用于