IsolatedStoragePermission(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 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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.