Enumerates the levels of isolated storage scope that are supported by IsolatedStorage.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: mscorlib (in mscorlib.dll)
|Isolated storage scoped to the application.|
|Isolated storage scoped to the identity of the assembly.|
|Isolated storage scoped to the application domain identity.|
|Isolated storage scoped to the machine.|
|No isolated storage usage.|
|The isolated store can be placed in a location on the file system that might roam (if roaming user data is enabled on the underlying operating system).|
|Isolated storage scoped by user identity.|
Use to specify a degree of scope for an isolated store. You can specify combinations of these levels that are supported by IsolatedStorage.
The following code example demonstrates how the enumeration is used in the GetStore methods.
// Retrieve an IsolatedStorageFile for the current Domain and Assembly. IsolatedStorageFile isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.User | IsolatedStorageScope.Assembly | IsolatedStorageScope.Domain, null, null); IsolatedStorageFileStream isoStream = new IsolatedStorageFileStream("substituteUsername", System.IO.FileMode.Open, System.IO.FileAccess.Read, System.IO.FileShare.Read);