Editar

Compartir a través de


PolicyStatementAttribute Enum

Definition

Defines special attribute flags for security policy on code groups.

This enumeration supports a bitwise combination of its member values.

public enum class PolicyStatementAttribute
[System.Flags]
public enum PolicyStatementAttribute
[System.Flags]
[System.Serializable]
public enum PolicyStatementAttribute
[System.Flags]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum PolicyStatementAttribute
[<System.Flags>]
type PolicyStatementAttribute = 
[<System.Flags>]
[<System.Serializable>]
type PolicyStatementAttribute = 
[<System.Flags>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type PolicyStatementAttribute = 
Public Enum PolicyStatementAttribute
Inheritance
PolicyStatementAttribute
Attributes

Fields

Name Value Description
Nothing 0

No flags are set.

Exclusive 1

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 2

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.

All 3

All attribute flags are set.

Remarks

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

Applies to