Click or drag to resize

HtmlWebResponse Constructor (Boolean, Uri, String, Encoding)

Note: This API is now obsolete.

Initializes a new instance of the HtmlWebResponse class.

Namespace:  NScrape
Assembly:  NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax
[ObsoleteAttribute("Please use HtmlWebResponse( bool, HttpWebResponse ) instead.")]
public HtmlWebResponse(
	bool success,
	Uri responseUrl,
	string htmlText,
	Encoding encoding
)

Parameters

success
Type: SystemBoolean
true if the response is considered successful, false otherwise.
responseUrl
Type: SystemUri
The URL of the response.
htmlText
Type: SystemString
The HTML text of the response.
encoding
Type: System.TextEncoding
The encoding of the HTML text.
Remarks
Deprecated; please use HtmlWebResponse(Boolean, HttpWebResponse) instead.
See Also