Click or drag to resize

ShowHttpErrorPageResponseShow Method

Creates a ShowHttpErrorPageResponse 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.27.7
Syntax
C#
public static ShowHttpErrorPageResponse Show(
	string errorHtml
)

Parameters

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

Return Value

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