IsolatedStoragePermission(PermissionState) 构造函数

定义

根据指定,使用受限制或不受限制的权限初始化 IsolatedStoragePermission 类的新实例。

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)

参数

state
PermissionState

PermissionState 值之一。

例外

state 参数不是 PermissionState 的有效值。

注解

创建完全受限 (None) 或 Unrestricted 对独立存储的访问。

适用于