Skip to content

Commit 96c122a

Browse files
OzBobThraka
andauthored
IsolatedStorageException (#18770)
* IsolatedStorageException IsolatedStorageException thrown on CreateFile if path contains a Directory that does not exist. * Update how-to-create-files-and-directories-in-isolated-storage.md Co-authored-by: Andy De George <[email protected]>
1 parent ca5a5ed commit 96c122a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/standard/io/how-to-create-files-and-directories-in-isolated-storage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ After you have obtained an isolated store, you can create directories and files
2323
To create a file, use the <xref:System.IO.IsolatedStorage.IsolatedStorageFile.CreateFile%2A?displayProperty=nameWithType> method.
2424

2525
In the Windows operating system, isolated storage file and directory names are case-insensitive. That is, if you create a file named `ThisFile.txt`, and then create another file named `THISFILE.TXT`, only one file is created. The file name keeps its original casing for display purposes.
26+
27+
Isolated storage file creation will throw an <xref:System.IO.IsolatedStorage.IsolatedStorageException> if the path contains a directory that does not exist.
2628

2729
## Example
2830
The following code example illustrates how to create files and directories in an isolated store.

0 commit comments

Comments
 (0)