Click or drag to resize

TextWebResponse Constructor (Boolean, Uri, WebResponseType, String, Encoding)

Note: This API is now obsolete.

Initializes a new instance of the TextWebResponse class.

Namespace:  NScrape
Assembly:  NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax
[ObsoleteAttribute("Please use TextWebResponse( bool, WebResponseType, HttpWebResponse ) instead.")]
protected TextWebResponse(
	bool success,
	Uri responseUrl,
	WebResponseType responseType,
	string text,
	Encoding encoding
)

Parameters

success
Type: SystemBoolean
true if the response is considered successful, false otherwise.
responseUrl
Type: SystemUri
The URL of the response.
responseType
Type: NScrapeWebResponseType
The type of response.
text
Type: SystemString
The text of the response.
encoding
Type: System.TextEncoding
The encoding of the text.
Remarks
See Also