This documentation is archived and is not being maintained.

PolicyStatementAttribute Enumeration

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.

[Visual Basic]
<Flags>
<Serializable>
Public Enum PolicyStatementAttribute
[C#]
[Flags]
[Serializable]
public enum PolicyStatementAttribute
[C++]
[Flags]
[Serializable]
__value public enum PolicyStatementAttribute
[JScript]
public
   Flags
 Serializable
enum PolicyStatementAttribute

Remarks

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

Members

Member name Description Value
All All attribute flags are set. 3
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. 1
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. 2
Nothing No flags are set. 0

Requirements

Namespace: System.Security.Policy

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

System.Security.Policy Namespace

Show: