Name

IOException

Synopsis

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

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

Hierarchy

System.ObjectSystem.Exception(System.Runtime.Serialization.ISerializable)System.SystemExceptionIOException

Subclasses

DirectoryNotFoundException, EndOfStreamException, FileLoadException, FileNotFoundException, PathTooLongException

Get C# in a Nutshell 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.