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

透明度ルール セットを指定する列挙値の 1 つ。

注釈

ruleSet パラメーターを指定する場合は、.NET Framework バージョン 2.0 規則には Level1、.NET Framework 4 規則の場合は Level2 を使用します。 Level1動作の詳細については、「Security-Transparent コード、レベル 1」を参照してください。 Level2動作の詳細については、「Security-Transparent コード、レベル 2」を参照してください。

適用対象

こちらもご覧ください

  • .NET Framework バージョン 4.0