Name

IOException

Synopsis

This is the base class of all the I/O related exceptions.

public class IOException : SystemException {
// Public Constructors
   public IOException( );
   public IOException(string message);
   public IOException(string message, Exception innerException);
   public IOException(string message, int hresult);
// Protected Constructors
   protected IOException(System.Runtime.Serialization.SerializationInfo info,
        System.Runtime.Serialization.StreamingContext context);
}

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException IOException

Subclasses

DirectoryNotFoundException, EndOfStreamException, FileLoadException, FileNotFoundException, PathTooLongException

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.