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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.