FileWebResponse(SerializationInfo, StreamingContext) Konstruktor

Definition

Achtung

Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202

Achtung

Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202

Initialisiert eine neue Instanz der FileWebResponse-Klasse aus den angegebenen Instanzen der SerializationInfo-Klasse und der StreamingContext-Klasse.Initializes a new instance of the FileWebResponse class from the specified instances of the SerializationInfo and StreamingContext classes.

protected:
 FileWebResponse(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
[System.Obsolete("Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202")]
protected FileWebResponse (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
protected FileWebResponse (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[System.Obsolete("Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202")]
protected FileWebResponse (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[<System.Obsolete("Serialization is obsoleted for this type. https://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Net.FileWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.FileWebResponse
new System.Net.FileWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.FileWebResponse
[<System.Obsolete("Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Net.FileWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.FileWebResponse
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parameter

serializationInfo
SerializationInfo

Eine SerializationInfo-Instanz mit den zum Serialisieren der neuen FileWebResponse-Instanz erforderlichen Informationen.A SerializationInfo instance that contains the information required to serialize the new FileWebResponse instance.

streamingContext
StreamingContext

Eine Instanz der StreamingContext-Klasse, die die Quelle des serialisierten Streams enthält, der der neuen FileWebResponse-Instanz zugeordnet ist.An instance of the StreamingContext class that contains the source of the serialized stream associated with the new FileWebResponse instance.

Attribute

Hinweise

Dieser Konstruktor implementiert die- ISerializable Schnittstelle für die- FileWebResponse Klasse.This constructor implements the ISerializable interface for the FileWebResponse class.

Gilt für: