dotnet-api-docs
dotnet-api-docs copied to clipboard
AppendText() and CreateText() throw DirectoryNotFoundException
Both methods throw the exception if the directory of the file being written to doesn't exist.
Summary
Added DirectoryNotFoundException to list of exceptions thrown for CreateText and AppendText. Pulled description text from OpenWrite.
Fixes #Issue_Number (if available)
Tagging subscribers to this area: @carlossanlop See info in area-owners.md if you want to be subscribed.
Issue Details
Both methods throw the exception if the directory of the file being written to doesn't exist.
Summary
Added DirectoryNotFoundException to list of exceptions thrown for CreateText and AppendText. Pulled description text from OpenWrite.
Fixes #Issue_Number (if available)
| Author: | UpperAvenue |
|---|---|
| Assignees: | - |
| Labels: |
|
| Milestone: | - |
Docs Build status updates of commit a338232:
:white_check_mark: Validation status: passed
| File | Status | Preview URL | Details |
|---|---|---|---|
| xml/System.IO/FileInfo.xml | :white_check_mark:Succeeded | View |
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:
- Try searching the docs.microsoft.com contributor guides
- Post your question in the Docs support channel
Learn Build status updates of commit a338232:
:white_check_mark: Validation status: passed
| File | Status | Preview URL | Details |
|---|---|---|---|
| xml/System.IO/FileInfo.xml | :white_check_mark:Succeeded | View |
For more details, please refer to the build report.
For any questions, please:
- Try searching the learn.microsoft.com contributor guides
- Post your question in the Learn support channel