FileWebRequest(SerializationInfo, StreamingContext) Konstruktor

Definition

Warnung

Diese API ist jetzt veraltet.

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

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

Parameter

serializationInfo
SerializationInfo

Ein SerializationInfo-Objekt, das die zum Serialisieren des neuen FileWebRequest-Objekts erforderlichen Informationen enthält.A SerializationInfo object that contains the information that is required to serialize the new FileWebRequest object.

streamingContext
StreamingContext

Ein StreamingContext-Objekt, das die Quelle des serialisierten Streams enthält, der dem neuen FileWebRequest-Objekt zugeordnet ist.A StreamingContext object that contains the source of the serialized stream that is associated with the new FileWebRequest object.

Attribute

Hinweise

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

Gilt für:

Siehe auch