System.IO.IOException Class

The exception that is thrown when an I/O error occurs.

See Also: IOException Members


public class IOException : SystemException


System.IO.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 :

Where appropriate, use these types instead of IOException.

System.IO.IOException uses the HRESULT COR_E_IO which has the value 0x80131620.

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.


Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,