Udostępnij za pośrednictwem


FileWebRequest(SerializationInfo, StreamingContext) Konstruktor

Definicja

Przestroga

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

Przestroga

Serialization has been deprecated for FileWebRequest.

Przestroga

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

Inicjuje FileWebRequest nowe wystąpienie klasy z określonych wystąpień SerializationInfo klas i 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

SerializationInfo Obiekt zawierający informacje wymagane do serializacji nowego FileWebRequest obiektu.

streamingContext
StreamingContext

StreamingContext Obiekt, który zawiera źródło serializowanego strumienia skojarzonego z nowym FileWebRequest obiektem.

Atrybuty

Uwagi

Ten konstruktor implementuje ISerializable interfejs dla FileWebRequest klasy.

Dotyczy

Zobacz też