Name

PathTooLongException

Synopsis

This exception is thrown when you attempt to access or create a file with a name that is too long for the filesystem.

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

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException IOException 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.