The properties of the SecurityPermissionAttribute class are listed below. For a complete list of SecurityPermissionAttribute class members, see the SecurityPermissionAttribute Members topic.
Action (inherited from SecurityAttribute) | Retrieves or assigns the security action that is being declared. |
Assertion | Retrieves or assigns a value indicating whether or not permission to assert is declared. |
ControlDomainPolicy | Retrieves or assigns a value indicating whether or not permission to provide policy to a an app domain is declared. |
ControlEvidence | Retrieves or assigns a value indicating whether or not permission to provide evidence to policy is declared. |
ControlPolicy | Retrieves or assigns a value indicating whether or not permission to manipulate policy is declared. |
ControlPrincipal | Retrieves or assigns a value indicating whether or not permission to manipulate the current principal is declared. |
ControlThread | Retrieves or assigns a value indicating whether or not permission to manipulate threads is declared. |
Execution | Retrieves or assigns a value indicating whether or not permission to execute code is declared. |
Flags | Retrieves or assigns all permission flags comprising the SecurityPermission permissions. |
SkipVerification | Retrieves or assigns a value indicating whether or not permission to skip code verification is declared. |
UnmanagedCode | Retrieves or assigns a value indicating whether or not permission to call unmanaged code is declared. |
Unrestricted (inherited from SecurityAttribute) | Retrieves or assigns a value indicating whether full (unrestricted) permission to the resource protected by the attribute should be declared. |
SecurityPermissionAttribute Class | System.Security.Permissions Namespace