Method Show
- Namespace
- DotNetBrowser.Navigation.Handlers
- Assembly
- DotNetBrowser.dll
Show(string)
Creates a ShowHttpErrorPageResponse that notifies the browser that it should display an error page
with the specified errorHtml.
public static ShowHttpErrorPageResponse Show(string errorHtml)
Parameters
errorHtmlstringThe HTML code of the error page to display.
Returns
- ShowHttpErrorPageResponse
The ShowHttpErrorPageResponse instance that can be used as a return value in ShowHttpErrorPageHandler implementation.
Exceptions
- ArgumentException
The
errorHtmlis null, empty, or contains only white space.