IOException Hierarchy
The following table lists the classes derived from System.IO.IOException .
Derived Classes
Class | Description |
---|---|
System.IO.DirectoryNotFoundException | The exception that is thrown when part of a file or directory cannot be found. |
System.IO.DriveNotFoundException | The exception that is thrown when trying to access a drive or share that is not available. |
System.IO.EndOfStreamException | The exception that is thrown when reading is attempted past the end of a stream. |
System.IO.FileLoadException | The exception that is thrown when a managed assembly is found but cannot be loaded. |
System.IO.FileNotFoundException | The exception that is thrown when an attempt to access a file that does not exist on disk fails. |
System.IO.PathTooLongException | The exception that is thrown when a pathname or filename is longer than the system-defined maximum length. |
System.IO.PipeException |
See Also
Reference
IOException Class
IOException Members
System.IO Namespace
Exception
Other Resources
Handling and Throwing Exceptions
File and Stream I/O
Reading Text from a File
Writing Text to a File