IsolatedStorageFile.GetStore Method (IsolatedStorageScope, Object, Object)
Obtains the isolated storage corresponding to the given application domain and assembly evidence objects.
Assembly: mscorlib (in mscorlib.dll)
public static IsolatedStorageFile GetStore( IsolatedStorageScope scope, object domainIdentity, object assemblyIdentity )
A bitwise combination of the enumeration values.
An object that contains evidence for the application domain identity.
An object that contains evidence for the code assembly identity.
Return ValueType: System.IO.IsolatedStorage.IsolatedStorageFile
An object that represents the parameters.
Sufficient isolated storage permissions have not been granted.
Neither domainIdentity nor assemblyIdentity has been passed in. This verifies that the correct constructor is being used.
Either domainIdentity or assemblyIdentity is null.
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.
This form of GetStore is most useful for administrative code that needs to open a store as if it were another assembly. The store is opened for the evidence provided and not for the currently executing assembly.
If the scope parameter is Domain 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.
Available since 1.1