This documentation is archived and is not being maintained.

WebResponse Constructor

.NET Framework 1.1

Initializes a new instance of the WebResponse class.

Overload List

Initializes a new instance of the WebResponse class.

Supported by the .NET Compact Framework.

[Visual Basic] Protected Sub New()
[C#] protected WebResponse();
[C++] protected: WebResponse();
[JScript] protected function WebResponse();

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

[Visual Basic] Protected Sub New(SerializationInfo, StreamingContext)
[C#] protected WebResponse(SerializationInfo, StreamingContext);
[C++] protected: WebResponse(SerializationInfo*, StreamingContext);
[JScript] protected function WebResponse(SerializationInfo, StreamingContext);

See Also

WebResponse Class | WebResponse Members | System.Net Namespace

Show: