Freigeben über


FileLoadException-Konstruktor (SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der FileLoadException-Klasse mit serialisierten Daten.

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 FileLoadException(info, context)
protected FileLoadException (
    SerializationInfo info,
    StreamingContext context
)
protected:
FileLoadException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected FileLoadException (
    SerializationInfo info, 
    StreamingContext context
)
protected function FileLoadException (
    info : SerializationInfo, 
    context : StreamingContext
)

Parameter

  • info
    Die SerializationInfo-Klasse, die die serialisierten Objektdaten für die ausgelöste Ausnahme enthält.
  • context
    Die StreamingContext-Struktur, die die Kontextinformationen über die Quelle oder das Ziel enthält.

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

FileLoadException-Klasse
FileLoadException-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