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