IsolatedStorageFileCreateFile Method |
Creates a file in the isolated store.
Namespace: System.IO.IsolatedStorageAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public IsolatedStorageFileStream CreateFile(
string path
)
Parameters
- path
- Type: SystemString
The relative path of the file to create.
Return Value
Type:
IsolatedStorageFileStreamA new isolated storage file.
Exceptions Exception | Condition |
---|
IsolatedStorageException | The isolated store has been removed. -or-Isolated storage is disabled. |
ArgumentException | path is malformed. |
ArgumentNullException | path is null. |
DirectoryNotFoundException | The directory in path does not exist. |
ObjectDisposedException | The isolated store has been disposed. |
See Also