.NET Framework Class Library for Silverlight
IsolatedStorageFileStream Constructor (String, FileMode, FileAccess, FileShare, IsolatedStorageFile)
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.
Namespace:
System.IO.IsolatedStorage
Assembly:
mscorlib (in mscorlib.dll)
Visual Basic (Declaration)
Public Sub New ( _
path As String, _
mode As FileMode, _
access As FileAccess, _
share As FileShare, _
isf As IsolatedStorageFile _
)
Dim path As String
Dim mode As FileMode
Dim access As FileAccess
Dim share As FileShare
Dim isf As IsolatedStorageFile
Dim instance As New IsolatedStorageFileStream(path, mode, _
access, share, isf)
public IsolatedStorageFileStream(
string path,
FileMode mode,
FileAccess access,
FileShare share,
IsolatedStorageFile isf
)
| Exception | Condition |
|---|
| IsolatedStorageException |
isf has been disposed. -or-
path is badly formed. -or-
path is nullNothingnullptra null reference (Nothing in Visual Basic). -or-
isf is nullNothingnullptra null reference (Nothing in Visual Basic). -or The directory in path does not exist. -or- No file was found and the mode is set to Open. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Reference