IsolatedStorage::InitStore Method (IsolatedStorageScope, Type^, Type^)
Initializes a new IsolatedStorage object.
Assembly: mscorlib (in mscorlib.dll)
protected: void InitStore( IsolatedStorageScope scope, Type^ domainEvidenceType, Type^ assemblyEvidenceType )
Parameters
- scope
-
Type:
System.IO.IsolatedStorage::IsolatedStorageScope
A bitwise combination of the IsolatedStorageScope values.
- domainEvidenceType
-
Type:
System::Type^
The type of Evidence that you can choose from the list of Evidence present in the domain of the calling application. null lets the IsolatedStorage object choose the evidence.
- assemblyEvidenceType
-
Type:
System::Type^
The type of Evidence that you can choose from the list of Evidence present in the assembly of the calling application. null lets the IsolatedStorage object choose the evidence.
| Exception | Condition |
|---|---|
| IsolatedStorageException | The assembly specified has insufficient permissions to create isolated stores. |
Derived classes use this method to initialize a new object.
for permission to use isolated storage. Associated enumeration: IsolatedStorageContainment::DomainIsolationByUser
-or-
IsolatedStorageContainment::AssemblyIsolationByUser
-or-
IsolatedStorageContainment::DomainIsolationByRoamingUser
-or-
Available since 1.1