StorePermission Constructor (PermissionState)
.NET Framework (current version)
Initializes a new instance of the StorePermission class with either fully restricted or unrestricted permission state.
Assembly: System (in System.dll)
Parameters
- state
-
Type:
System.Security.Permissions::PermissionState
One of the PermissionState values.
| Exception | Condition |
|---|---|
| ArgumentException | state is not a valid PermissionState value. |
The permission object provides either fully restricted (None) or Unrestricted access to X.509 stores. If fully restricted (None), the Flags property can then be set to specify the type of access allowed.
.NET Framework
Available since 2.0
Available since 2.0
Show: