Constructs a new instance of the System.Security.PermissionSet class with the specified value.
- state
- A System.Security.Permissions.PermissionState value. This value is either System.Security.Permissions.PermissionState.None or System.Security.Permissions.PermissionState.Unrestricted , to specify fully restricted or fully unrestricted access.
Type Reason ArgumentException state is not a valid System.Security.Permissions.PermissionState value.
Note: The new instance contains no permissions. To add a permission to the new instance, use PermissionSet.AddPermission(IPermission).
Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0