WebResponseValidatorValidateImageResponse Method |
Namespace:
NScrape
Assembly:
NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax public static ImageWebResponse ValidateImageResponse(
WebResponse response,
string message
)
Public Shared Function ValidateImageResponse (
response As WebResponse,
message As String
) As ImageWebResponse
public:
static ImageWebResponse^ ValidateImageResponse(
WebResponse^ response,
String^ message
)
static member ValidateImageResponse :
response : WebResponse *
message : string -> ImageWebResponse
Parameters
- response
- Type: NScrapeWebResponse
The web response to be validated. - message
- Type: SystemString
The error message to be used to generate an exception if the validation fails.
Return Value
Type:
ImageWebResponseThe web response cast as an
ImageWebResponse.
See Also