共用方式為


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 值。

備註

建立完全受限 () NoneUnrestricted 隔離記憶體的存取。

適用於