Язык

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.

Атрибуты

Исключения

Непосредственный вызывающий объект не имеет разрешения на инфраструктуру.

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