共用方式為


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

參數

傳回

布林 (Boolean) 值,指出是否可以啟動要求的型別。

屬性

適用於