Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpWebResponse Constructor
Collapse the table of content
Expand the table of content

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 _
)
[C#]
protected HttpWebResponse(
   SerializationInfo serializationInfo,
 StreamingContext streamingContext
);
[C++]
protected: HttpWebResponse(
   SerializationInfo* serializationInfo,
 StreamingContext streamingContext
);
[JScript]
protected function HttpWebResponse(
   serializationInfo : SerializationInfo,
 streamingContext : StreamingContext
);

Parameters

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

Remarks

This constructor implements the ISerializable interface for the HttpWebRequest class.

Requirements

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

Show:
© 2015 Microsoft