NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IsolatedStorageFileStream Constructor (String, FileMode, FileAccess, FileShare, Int32)

Initializes a new instance of an IsolatedStorageFileStream object giving access to the file designated by path in the specified mode, access, and share option, with buffer size specified. Mode indicates if a new file should be created, an existing one used, and so forth. Access includes read-only, read-write, etc.

[Visual Basic]
Overloads Public Sub New( _
   ByVal path As String, _
   ByVal mode As FileMode, _
   ByVal access As FileAccess, _
   ByVal share As FileShare, _
   ByVal bufferSize As Integer _
)
[C#]
public IsolatedStorageFileStream(
   string path,
   FileMode mode,
   FileAccess access,
   FileShare share,
   int bufferSize
);
[C++]
public: IsolatedStorageFileStream(
   String* path,
   FileMode mode,
   FileAccess access,
   FileShare share,
   int bufferSize
);
[JScript]
public function IsolatedStorageFileStream(
   path : String,
   mode : FileMode,
   access : FileAccess,
   share : FileShare,
   bufferSize : int
);

Parameters

path
relative path within isolated storage of the file
mode
[To be supplied.]
access
[To be supplied.]
share
[To be supplied.]
bufferSize
[To be supplied.]

Remarks

Not only much code have the necessary IsolatedStoragePermission, but it must have identity in order to access a particular isolated storage instance.

Requirements

NGWS Runtime Security:

IsolatedStorage code must have isolated storage access

See Also

IsolatedStorageFileStream Class | IsolatedStorageFileStream Members | System.IO.IsolatedStorage Namespace | IsolatedStorageFileStream Constructor Overload List