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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour