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 method PathTooLongException();  
   public method PathTooLongException(string message);  
   public method PathTooLongException(string message, 
        Exception innerException);  
// Protected Constructors
   protected method PathTooLongException(
        System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);  
}

Hierarchy

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

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.