IContextPropertyActivator.IsOKToActivate(IConstructionCallMessage) 方法

定义

指示是否可以激活 msg 参数中指示的对象类型。

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

返回

指示是否可以激活所请求类型的布尔值。

属性

适用于