IsolatedStorageFilePermission(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 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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för