Freigeben über


FileNotFoundException-Konstruktor (SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der FileNotFoundException-Klasse mit der angegebenen Serialisierung und den angegebenen Kontextinformationen.

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New FileNotFoundException(info, context)
protected FileNotFoundException (
    SerializationInfo info,
    StreamingContext context
)
protected:
FileNotFoundException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected FileNotFoundException (
    SerializationInfo info, 
    StreamingContext context
)
protected function FileNotFoundException (
    info : SerializationInfo, 
    context : StreamingContext
)

Parameter

  • info
    Die Daten zum Serialisieren oder Deserialisieren der Datei.
  • context
    Die Quelle und das Ziel der Datei.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, 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

Siehe auch

Referenz

FileNotFoundException-Klasse
FileNotFoundException-Member
System.IO-Namespace

Weitere Ressourcen

Datei- und Stream-E/A
Gewusst wie: Lesen aus einer Textdatei
Gewusst wie: Schreiben von Text in eine Datei