Bewerken

Delen via


IsolatedStorageFilePermission(PermissionState) Constructor

Definition

Initializes a new instance of the IsolatedStorageFilePermission class with either fully restricted or unrestricted permission as specified.

public:
 IsolatedStorageFilePermission(System::Security::Permissions::PermissionState state);
public IsolatedStorageFilePermission (System.Security.Permissions.PermissionState state);
new System.Security.Permissions.IsolatedStorageFilePermission : System.Security.Permissions.PermissionState -> System.Security.Permissions.IsolatedStorageFilePermission
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

Constructs either fully restricted (None) or Unrestricted access to isolated storage files.

Applies to