public enum PermissionState
Object
ValueType
Enum
PermissionState
mscorlib
BCL
Represents a value specifying whether an entity, at creation, should have full or no access to resources.
[Note: Code access permission objects supply a constructor that takes a PermissionState value specifying that the new instance is either fully restricted (System.Security.Permissions.PermissionState.None) or unrestricted (System.Security.Permissions.PermissionState.Unrestricted). A fully restricted permission object disallows access to a resource; an unrestricted permission object allows full access to a resource. For example, a fully restricted System.Security.Permissions.FileIOPermission object disallows access to files and directories, while an unrestricted object of the same type allows full access to all files and directories in the file system.]
System.Security.Permissions Namespace
PermissionState Fields
PermissionState.None Field
PermissionState.Unrestricted Field
PermissionState.value__ Field
None = 0;
Specifies access to the resource protected by the permission is not allowed.
System.Security.Permissions.PermissionState Enum, System.Security.Permissions Namespace
Unrestricted = 1;
Specifies full access to the resource protected by the permission.
System.Security.Permissions.PermissionState Enum, System.Security.Permissions Namespace
value__;
System.Security.Permissions.PermissionState Enum, System.Security.Permissions Namespace