Table of Contents

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

errorHtml string

The 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 errorHtml is null, empty, or contains only white space.