SecurityRulesAttribute(SecurityRuleSet) 建構函式

定義

使用指定的規則集值初始化該類別的新 SecurityRulesAttribute 實例。

public:
 SecurityRulesAttribute(System::Security::SecurityRuleSet ruleSet);
public SecurityRulesAttribute(System.Security.SecurityRuleSet ruleSet);
new System.Security.SecurityRulesAttribute : System.Security.SecurityRuleSet -> System.Security.SecurityRulesAttribute
Public Sub New (ruleSet As SecurityRuleSet)

參數

ruleSet
SecurityRuleSet

其中一個列舉值,用來指定透明規則設定。

備註

當你指定 ruleSet 參數時,.NET Framework 2.0 版本規則可使用 Level1,或 Framework 4 規則.NET Level2。 欲了解更多行為 Level1 資訊,請參閱 Security-Transparent 守則第一級。 關於行為的資訊 Level2 ,請參閱 Security-Transparent 守則第二級

適用於

另請參閱

  • .NET框架版本 4.0