Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpWebResponse Constructor

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

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


A SerializationInfo containing the information required to serialize the new HttpWebRequest.
A StreamingContext containing the source of the serialized stream associated with the new HttpWebRequest.


This constructor implements the ISerializable interface for the HttpWebRequest 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

HttpWebResponse Class | HttpWebResponse Members | System.Net Namespace | ISerializable

© 2015 Microsoft