共用方式為


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 中所包含物件啟動過程的狀態。

屬性

例外狀況

立即呼叫端沒有基礎結構使用權限。

適用於