Click or drag to resize

PlainTextWebResponse Constructor (Boolean, Uri, String, Encoding)

Note: This API is now obsolete.

Initializes a new instance of the PlainTextWebResponse class.

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

Parameters

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