PathTooLongException Class

PathTooLongException Class

The exception that is thrown when a pathname or filename is longer than the system-defined maximum length .

For a list of all members of this type, see PathTooLongException Members.


[Visual Basic]
Public Class PathTooLongException
   Inherits IOException
public class PathTooLongException : IOException
public __gc class PathTooLongException : public IOException
class PathTooLongException extends IOException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


PathTooLongException uses the HRESULT COR_E_PATHTOOLONG which has the value 0x800700CE.


Namespace: System.IO

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

PathTooLongException Members | System.IO Namespace | Exception | Handling and Throwing Exceptions | Working with I/O | Reading Text from a File | Writing Text to a File

© 2015 Microsoft