System.IO.IsolatedStorage.IsolatedStorageFile.GetStore Method

Obtains isolated storage corresponding to the isolation scope and the application identity object.

Syntax

public static IsolatedStorageFile GetStore (IsolatedStorageScope scope, Type applicationEvidenceType)

Parameters

scope
A bitwise combination of the enumeration values.
applicationEvidenceType
An object that contains the application identity.

Returns

An object that represents the parameters.

Remarks

Note:

If the scope parameter is IsolatedStorageScope.Application and the application domain in which the assembly is installed does not have System.Security.Permissions.IsolatedStorageFilePermission, the IsolatedStorageFile.GetStore(IsolatedStorageScope, Type, Type) method will return an System.IO.IsolatedStorage.IsolatedStorageFile object without a quota. Later attempts to create an System.IO.IsolatedStorage.IsolatedStorageFile object using the System.IO.IsolatedStorage.IsolatedStorageFile object that does not have a quota will fail with an System.IO.IsolatedStorage.IsolatedStorageException.

Requirements

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0