Sdílet prostřednictvím


FileWebRequest(SerializationInfo, StreamingContext) Konstruktor

Definice

Upozornění

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

Upozornění

Serialization has been deprecated for FileWebRequest.

Upozornění

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

Inicializuje novou instanci FileWebRequest třídy ze zadaných SerializationInfo instancí tříd a StreamingContext .

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

Parametry

serializationInfo
SerializationInfo

Objekt SerializationInfo , který obsahuje informace potřebné k serializaci nového FileWebRequest objektu.

streamingContext
StreamingContext

Objekt StreamingContext , který obsahuje zdroj serializovaného datového proudu, který je přidružen k novému FileWebRequest objektu.

Atributy

Poznámky

Tento konstruktor implementuje ISerializable rozhraní pro FileWebRequest třídu .

Platí pro

Viz také