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, .NET Framework 4 규칙에는 Level2 사용합니다. 동작에 대한 Level1 자세한 내용은 Security-Transparent 코드, 수준 1을 참조하세요. 동작에 대한 Level2 자세한 내용은 Security-Transparent Code 수준 2를 참조하세요.

적용 대상

추가 정보

  • .NET Framework 버전 4.0