Click or drag to resize

JavaScriptWebResponse Constructor (Boolean, Uri, String, Encoding)

Note: This API is now obsolete.

Initializes a new instance of the JavaScriptWebResponse class.

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

Parameters

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