Constructs and initializes a new instance of the System.Security.Permissions.FileIOPermission class with the specified System.Security.Permissions.PermissionState value.
- state
- A System.Security.Permissions.PermissionState value.
Type Reason ArgumentException state is not a valid System.Security.Permissions.PermissionState value.
Note:This constructor creates either fully restricted (PermissionState.None) or PermissionState.Unrestricted access to files and directories.
Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0