Freigeben über


IOException-Konstruktor (SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der IOException-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 IOException(info, context)
protected IOException (
    SerializationInfo info,
    StreamingContext context
)
protected:
IOException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected IOException (
    SerializationInfo info, 
    StreamingContext context
)
protected function IOException (
    info : SerializationInfo, 
    context : StreamingContext
)

Parameter

  • info
    Die Daten zum Serialisieren oder Deserialisieren des Objekts.
  • context
    Die Quelle und das Ziel des Objekts.

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

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