This documentation is archived and is not being maintained.

FileWebResponse Constructor

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

[Visual Basic]
Protected Sub New( _
   ByVal serializationInfo As SerializationInfo, _
   ByVal streamingContext As StreamingContext _
protected FileWebResponse(
   SerializationInfo serializationInfo,
 StreamingContext streamingContext
protected: FileWebResponse(
   SerializationInfo* serializationInfo,
 StreamingContext streamingContext
protected function FileWebResponse(
   serializationInfo : SerializationInfo,
 streamingContext : StreamingContext


A SerializationInfo instance that contains the information required to serialize the new FileWebResponse instance.
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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FileWebResponse Class | FileWebResponse Members | System.Net Namespace | XML and SOAP Serialization