FileWebResponse Constructor (SerializationInfo, StreamingContext)

 
Note: This API is now obsolete.

Initializes a new instance of the FileWebResponse class from the specified instances of the SerializationInfo and StreamingContext classes.

Namespace:   System.Net
Assembly:  System (in System.dll)

<ObsoleteAttribute("Serialization is obsoleted for this type. http://go.microsoft.com/fwlink/?linkid=14202")>
Protected Sub New (
	serializationInfo As SerializationInfo,
	streamingContext As StreamingContext
)

Parameters

serializationInfo
Type: System.Runtime.Serialization.SerializationInfo

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

streamingContext
Type: System.Runtime.Serialization.StreamingContext

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

This constructor implements the ISerializable interface for the FileWebResponse class.

.NET Framework
Available since 1.1
Return to top
Show: