Udostępnij za pośrednictwem


FileWebResponse(SerializationInfo, StreamingContext) Konstruktor

Definicja

Przestroga

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

Przestroga

Serialization has been deprecated for FileWebResponse.

Przestroga

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

Inicjuje FileWebResponse nowe wystąpienie klasy z określonych wystąpień SerializationInfo klas i StreamingContext .

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);
[System.Obsolete("Serialization has been deprecated for FileWebResponse.")]
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);
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
[<System.Obsolete("Serialization has been deprecated for 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
new System.Net.FileWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.FileWebResponse
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parametry

serializationInfo
SerializationInfo

SerializationInfo Wystąpienie zawierające informacje wymagane do serializacji nowego FileWebResponse wystąpienia.

streamingContext
StreamingContext

Wystąpienie StreamingContext klasy zawierające źródło serializowanego strumienia skojarzonego z nowym FileWebResponse wystąpieniem.

Atrybuty

Uwagi

Ten konstruktor implementuje ISerializable interfejs dla FileWebResponse klasy.

Dotyczy

Zobacz też