IsolatedStorage.GetPermission(PermissionSet) Method
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.
When implemented by a derived class, returns a permission that represents access to isolated storage from within a permission set.
protected:
abstract System::Security::Permissions::IsolatedStoragePermission ^ GetPermission(System::Security::PermissionSet ^ ps);
protected abstract System.Security.Permissions.IsolatedStoragePermission GetPermission (System.Security.PermissionSet ps);
abstract member GetPermission : System.Security.PermissionSet -> System.Security.Permissions.IsolatedStoragePermission
Protected MustOverride Function GetPermission (ps As PermissionSet) As IsolatedStoragePermission
Parameters
The PermissionSet object that contains the set of permissions granted to code attempting to use isolated storage.
Returns
An IsolatedStoragePermission object.
Remarks
You call this method on derived classes to determine what permission type governs their use, and to return the permission of the type that has been granted. Use this information to determine the allowable quota and any other derived class-specific isolated storage settings.