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(stringmessage
); public IOException(stringmessage
, ExceptioninnerException
); public IOException(stringmessage
, inthresult
); // Protected Constructors protected IOException(System.Runtime.Serialization.SerializationInfoinfo
, System.Runtime.Serialization.StreamingContextcontext
); }
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.