SecurityRulesAttribute(SecurityRuleSet) コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した規則セット値を使用して、 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