IsolatedStorageFileStream Constructor (String, FileMode, IsolatedStorageFile)

IsolatedStorageFileStream Constructor (String, FileMode, IsolatedStorageFile)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the IsolatedStorageFileStream class giving access to the file designated by path, in the specified mode, and in the context of the IsolatedStorageFile specified by isf.

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

public IsolatedStorageFileStream(
	string path,
	FileMode mode,
	IsolatedStorageFile isf


Type: System.String
The relative path of the file within isolated storage.
Type: System.IO.FileMode
One of the FileMode values.
Type: System.IO.IsolatedStorage.IsolatedStorageFile
The IsolatedStorageFile in which to open the IsolatedStorageFileStream.


isf has been disposed.


path is badly formed.


path is null.


isf is null.


The directory in path does not exist.


No file was found and the mode is set to Open.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft