Click or drag to resize

ShowNetErrorPageResponseShow Method

Creates a ShowNetErrorPageResponse that notifies the browser that it should display an error page with the specified errorHtml.

Namespace:  DotNetBrowser.Navigation.Handlers
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.0
Syntax
C#
public static ShowNetErrorPageResponse Show(
	string errorHtml
)

Parameters

errorHtml
Type: SystemString
The HTML code of the error page to display.

Return Value

Type: ShowNetErrorPageResponse
The ShowNetErrorPageResponse instance that can be used as a return value in ShowNetErrorPageHandler implementation.
Exceptions
ExceptionCondition
ArgumentExceptionThe errorHtml is null, empty, or contains only white space.
See Also