IsolatedStorageFile.GetStore Method (IsolatedStorageScope, Type)
Obtains isolated storage corresponding to the isolation scope and the application identity object.
Assembly: mscorlib (in mscorlib.dll)
public static IsolatedStorageFile GetStore( IsolatedStorageScope scope, Type applicationEvidenceType )
- Type: System.IO.IsolatedStorage.IsolatedStorageScope
A bitwise combination of the enumeration values.
- Type: System.Type
An object that contains the application identity.
Return ValueType: System.IO.IsolatedStorage.IsolatedStorageFile
An object that represents the parameters.
Sufficient isolated storage permissions have not been granted.
The applicationEvidence identity has not been passed in.
The scope is invalid.
An isolated storage location cannot be initialized.
scope contains the value Domain, but the permissions for the application domain cannot be determined.
scope contains the value Assembly, but the permissions for the calling assembly cannot be determined.
If the scope parameter is Application and the application domain in which the assembly is installed does not have IsolatedStorageFilePermission, the GetStore method will return an IsolatedStorageFile object without a quota. Later attempts to create an IsolatedStorageFile object using the IsolatedStorageFile object that does not have a quota will fail with an IsolatedStorageException.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.