ComponentAccessControlAttribute 建構函式

定義

初始化 ComponentAccessControlAttribute 類別的新執行個體。

多載

ComponentAccessControlAttribute()

初始化 ComponentAccessControlAttribute 類別的新執行個體。

ComponentAccessControlAttribute(Boolean)

初始化 ComponentAccessControlAttribute 類別的新執行個體,並設定 Value 屬性以指出是否要啟用 COM+ 安全性組態。

ComponentAccessControlAttribute()

初始化 ComponentAccessControlAttribute 類別的新執行個體。

public:
 ComponentAccessControlAttribute();
public ComponentAccessControlAttribute ();
Public Sub New ()

適用於

ComponentAccessControlAttribute(Boolean)

初始化 ComponentAccessControlAttribute 類別的新執行個體,並設定 Value 屬性以指出是否要啟用 COM+ 安全性組態。

public:
 ComponentAccessControlAttribute(bool val);
public ComponentAccessControlAttribute (bool val);
new System.EnterpriseServices.ComponentAccessControlAttribute : bool -> System.EnterpriseServices.ComponentAccessControlAttribute
Public Sub New (val As Boolean)

參數

val
Boolean

若要在對元件呼叫時啟用安全性檢查,則為 true;否則為 false

適用於