PathTooLongException-Klasse

Die Ausnahme, die ausgelöst wird, wenn ein Pfad- oder Dateiname länger als die vom System festgelegte maximale Länge ist.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public Class PathTooLongException
    Inherits IOException
'Usage
Dim instance As PathTooLongException
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public class PathTooLongException : IOException
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public ref class PathTooLongException : public IOException
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public class PathTooLongException extends IOException
SerializableAttribute 
ComVisibleAttribute(true) 
public class PathTooLongException extends IOException

Hinweise

PathTooLongException verwendet HRESULT COR_E_PATHTOOLONG mit dem Wert 0x800700CE.

Vererbungshierarchie

System.Object
   System.Exception
     System.SystemException
       System.IO.IOException
        System.IO.PathTooLongException

Threadsicherheit

Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

PathTooLongException-Member
System.IO-Namespace
Exception

Weitere Ressourcen

Behandeln und Auslösen von Ausnahmen
Datei- und Stream-E/A
Gewusst wie: Lesen aus einer Textdatei
Gewusst wie: Schreiben von Text in eine Datei