Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SecurityRulesAttribute Constructor (SecurityRuleSet)

.NET Framework (current version)
 

Initializes a new instance of the SecurityRulesAttribute class using the specified rule set value.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

public:
SecurityRulesAttribute(
	SecurityRuleSet ruleSet
)

Parameters

ruleSet
Type: System.Security::SecurityRuleSet

One of the enumeration values that specifies the transparency rules set.

When you specify the ruleSet parameter, use Level1 for .NET Framework version 2.0 rules or Level2 for .NET Framework 4 rules. For more information about Level1 behavior, see Security-Transparent Code, Level 1. For information about Level2 behavior, see Security-Transparent Code, Level 2.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft