IsolatedStorageFileStream Constructor (String, FileMode, FileAccess, FileShare, 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, with the specified file access, using the file sharing mode specified by share, and in the context of the IsolatedStorageFile specified by isf.
Assembly: mscorlib (in mscorlib.dll)
Public Sub New ( _ path As String, _ mode As FileMode, _ access As FileAccess, _ share As FileShare, _ isf As IsolatedStorageFile _ )
public IsolatedStorageFileStream( string path, FileMode mode, FileAccess access, FileShare share, IsolatedStorageFile isf )
The relative path of the file within isolated storage.
The IsolatedStorageFile in which to open the IsolatedStorageFileStream.
isf has been disposed.
path is badly formed.
path is nullNothingnullptra null reference (Nothing in Visual Basic).
isf is nullNothingnullptra null reference (Nothing in Visual Basic).
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