Freigeben über


FileWebResponse-Konstruktor

HINWEIS: Dieser Konstruktor ist mittlerweile veraltet.

Initialisiert eine neue Instanz der FileWebResponse-Klasse aus den angegebenen Instanzen der SerializationInfo-Klasse und der StreamingContext-Klasse.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

'Declaration
<ObsoleteAttribute("Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202")> _
Protected Sub New ( _
    serializationInfo As SerializationInfo, _
    streamingContext As StreamingContext _
)
'Usage
Dim serializationInfo As SerializationInfo
Dim streamingContext As StreamingContext

Dim instance As New FileWebResponse(serializationInfo, streamingContext)
[ObsoleteAttribute("Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202")] 
protected FileWebResponse (
    SerializationInfo serializationInfo,
    StreamingContext streamingContext
)
[ObsoleteAttribute(L"Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202")] 
protected:
FileWebResponse (
    SerializationInfo^ serializationInfo, 
    StreamingContext streamingContext
)
/** @attribute ObsoleteAttribute("Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202") */ 
protected FileWebResponse (
    SerializationInfo serializationInfo, 
    StreamingContext streamingContext
)
ObsoleteAttribute("Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202") 
protected function FileWebResponse (
    serializationInfo : SerializationInfo, 
    streamingContext : StreamingContext
)

Parameter

  • streamingContext
    Eine Instanz der StreamingContext-Klasse, die die Quelle des serialisierten Streams enthält, der der neuen FileWebResponse-Instanz zugeordnet ist.

Hinweise

Dieser Konstruktor implementiert die ISerializable-Schnittstelle für die FileWebResponse-Klasse.

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: 1.0, 1.1
Veraltet (Compilerwarnung) in 2.0

Siehe auch

Referenz

FileWebResponse-Klasse
FileWebResponse-Member
System.Net-Namespace

Weitere Ressourcen

XML- und SOAP-Serialisierung