Click or drag to resize

JsonWebResponse Constructor (Boolean, Uri, String, Encoding)

Note: This API is now obsolete.

Initializes a new instance of the JsonWebResponse class.

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

Parameters

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