Export (0) Print
Expand All

WebResponse Constructor

Initializes a new instance of the WebResponse class.

Namespace:  System.Net
Assemblies:   System.Net.Requests (in System.Net.Requests.dll)
  System (in System.dll)

protected WebResponse()

Applications do not call the WebResponse constructor directly; use the GetResponse method on a WebRequest instance.

Notes to Implementers

This constructor creates and initializes the required fields for descendant classes.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft