Export (0) Print
Expand All
Expand Minimize

Troubleshooting Exceptions: System.IO.IOException

A IOException is thrown when an I/O error, such as failing to read from or write to a file, occurs.

Make sure the file and directory exist.

Verify that the directory you are trying to read from/write to exists. Verify that the file you are trying to read from exists.

Remarks

IOException is the base class for exceptions thrown while accessing information using streams, files and directories.

The Base Class Library includes the following types, each of which is a derived class of IOException:

Community Additions

ADD
Show:
© 2014 Microsoft