PolicyStatementAttribute Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Defines special attribute flags for security policy on code groups.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[SerializableAttribute]
[FlagsAttribute]
[ComVisibleAttribute(true)]
public enum PolicyStatementAttribute

Member nameDescription
All

All attribute flags are set.

Exclusive

The exclusive code group flag. When a code group has this flag set, only the permissions associated with that code group are granted to code belonging to the code group. At most, one code group matching a given piece of code can be set as exclusive.

LevelFinal

The flag representing a policy statement that causes lower policy levels to not be evaluated as part of the resolve operation, effectively allowing the policy level to override lower levels.

Nothing

No flags are set.

Attribute flags set on policy statements control how code groups merge with other code groups and other policy levels.

.NET Framework
Available since 1.1
Return to top
Show: