Edit

Share via


IContextPropertyActivator.IsOKToActivate(IConstructionCallMessage) Method

Definition

Indicates whether it is all right to activate the object type indicated in the msg parameter.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

Returns

A Boolean value indicating whether the requested type can be activated.

Attributes

Applies to