IsolatedStoragePermission(PermissionState) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the IsolatedStoragePermission class with either restricted or unrestricted permission as specified.
protected:
IsolatedStoragePermission(System::Security::Permissions::PermissionState state);
public:
IsolatedStoragePermission(System::Security::Permissions::PermissionState state);
protected IsolatedStoragePermission (System.Security.Permissions.PermissionState state);
public IsolatedStoragePermission (System.Security.Permissions.PermissionState state);
new System.Security.Permissions.IsolatedStoragePermission : System.Security.Permissions.PermissionState -> System.Security.Permissions.IsolatedStoragePermission
Protected Sub New (state As PermissionState)
Public Sub New (state As PermissionState)
Parameters
- state
- PermissionState
One of the PermissionState values.
Exceptions
The state
parameter is not a valid value of PermissionState.
Remarks
Creates either fully restricted (None
) or Unrestricted
access to isolated storage.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.