FileWebResponse Constructor (SerializationInfo, StreamingContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 FileWebResponse(
	SerializationInfo serializationInfo,
	StreamingContext 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: