Editare

Partajați prin


FileWebResponse(SerializationInfo, StreamingContext) Constructor

Definition

Caution

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

Caution

Serialization has been deprecated for FileWebResponse.

Caution

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

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);
[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)

Parameters

serializationInfo
SerializationInfo

A SerializationInfo instance that contains the information required to serialize the new FileWebResponse instance.

streamingContext
StreamingContext

An instance of the StreamingContext class that contains the source of the serialized stream associated with the new FileWebResponse instance.

Attributes

Remarks

This constructor implements the ISerializable interface for the FileWebResponse class.

Applies to

See also