Επεξεργασία

Κοινή χρήση μέσω


IActivator.Activate(IConstructionCallMessage) Method

Definition

Creates an instance of the object that is specified in the provided 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

Parameters

msg
IConstructionCallMessage

The information about the object that is needed to activate it, stored in a IConstructionCallMessage.

Returns

Status of the object activation contained in a IConstructionReturnMessage.

Attributes

Exceptions

The immediate caller does not have infrastructure permission.

Applies to