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
투명도 규칙 집합을 지정하는 열거형 값 중 하나입니다.
설명
ruleSet 매개 변수를 지정하는 경우 .NET Framework 버전 2.0 규칙에는 Level1, .NET Framework 4 규칙에는 Level2 사용합니다. 동작에 대한 Level1 자세한 내용은 Security-Transparent 코드, 수준 1을 참조하세요. 동작에 대한 Level2 자세한 내용은 Security-Transparent Code 수준 2를 참조하세요.
적용 대상
추가 정보
.NET Framework 버전 4.0