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 ルールまたは Level2 .NET Framework 4 ルールに を使用Level1します。 動作の詳細 Level1 については、「 セキュリティ透過的コード、レベル 1」を参照してください。 動作の詳細 Level2 については、「 セキュリティ透過的コード、レベル 2」を参照してください。

適用対象

こちらもご覧ください