Export (0) Print
Expand All

IsolatedStorageFilePermission Constructor

Initializes a new instance of the IsolatedStorageFilePermission class with either fully restricted or unrestricted permission as specified.

[Visual Basic]
Public Sub New( _
   ByVal state As PermissionState _
)
[C#]
public IsolatedStorageFilePermission(
   PermissionState state
);
[C++]
public: IsolatedStorageFilePermission(
   PermissionState state
);
[JScript]
public function IsolatedStorageFilePermission(
   state : PermissionState
);

Parameters

state
One of the PermissionState values.

Exceptions

Exception Type Condition
ArgumentException The state parameter is not a valid value of PermissionState.

Remarks

Constructs either fully restricted (None) or Unrestricted access to isolated storage files.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IsolatedStorageFilePermission Class | IsolatedStorageFilePermission Members | System.Security.Permissions Namespace

Show:
© 2014 Microsoft