FileWebResponse(SerializationInfo, StreamingContext) FileWebResponse(SerializationInfo, StreamingContext) FileWebResponse(SerializationInfo, StreamingContext) Constructor

Definition

Warning

This API is now obsolete.

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. http://go.microsoft.com/fwlink/?linkid=14202")]
[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);
new System.Net.FileWebResponse : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.FileWebResponse

Parameters

serializationInfo
SerializationInfo SerializationInfo SerializationInfo

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

streamingContext
StreamingContext StreamingContext StreamingContext

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

Remarks

This constructor implements the ISerializable interface for the FileWebResponse class.

Applies to

See also