IsolatedStorage.InitStore Method (IsolatedStorageScope, Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new IsolatedStorage object.

Namespace:   System.IO.IsolatedStorage
Assembly:  mscorlib (in mscorlib.dll)

protected void InitStore(
	IsolatedStorageScope scope,
	Type appEvidenceType
)

Parameters

scope
Type: System.IO.IsolatedStorage.IsolatedStorageScope

A bitwise combination of the IsolatedStorageScope values.

appEvidenceType
Type: System.Type

The type of Evidence that you can choose from the list of Evidence for 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 2.0
Return to top
Show: