TextWebResponse Constructor (Boolean, Uri, WebResponseType, String, Encoding) |
Note: This API is now obsolete.
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
)
<ObsoleteAttribute("Please use TextWebResponse( bool, WebResponseType, HttpWebResponse ) instead.")>
Protected Sub New (
success As Boolean,
responseUrl As Uri,
responseType As WebResponseType,
text As String,
encoding As Encoding
)
protected:
[ObsoleteAttribute(L"Please use TextWebResponse( bool, WebResponseType, HttpWebResponse ) instead.")]
TextWebResponse(
bool success,
Uri^ responseUrl,
WebResponseType responseType,
String^ text,
Encoding^ encoding
)
[<ObsoleteAttribute("Please use TextWebResponse( bool, WebResponseType, HttpWebResponse ) instead.")>]
new :
success : bool *
responseUrl : Uri *
responseType : WebResponseType *
text : string *
encoding : Encoding -> TextWebResponse
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