ConfigurationPermission Constructor (PermissionState)
.NET Framework (current version)
Initializes a new instance of the ConfigurationPermission class.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- state
-
Type:
System.Security.Permissions::PermissionState
The permission level to grant.
| Exception | Condition |
|---|---|
| ArgumentException | The value of state is neither Unrestricted nor None. |
.NET Framework
Available since 2.0
Available since 2.0
Show: