InitStore Method (IsolatedStorageScope, Type, Type)

IsolatedStorage.InitStore Method (IsolatedStorageScope, Type, Type)

 

Initializes a new IsolatedStorage object.

Namespace:   System.IO.IsolatedStorage
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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft