Edit

Share via


IsolatedStoragePermission(PermissionState) Constructor

Definition

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