Table of Contents

Property ShowHttpErrorPageHandler

Namespace
DotNetBrowser.Navigation
Assembly
DotNetBrowser.dll

ShowHttpErrorPageHandler

Gets or sets a handler that is used when the engine is about to display an error web page because the web server sends an empty HTTP response with the HTTP status code that represents an error.

IHandler<ShowHttpErrorPageParameters, ShowHttpErrorPageResponse> ShowHttpErrorPageHandler { get; set; }

Property Value

IHandler<ShowHttpErrorPageParameters, ShowHttpErrorPageResponse>

Remarks

Use Show(string) to show the custom error page with the given HTML.

Use ShowDefault() to display the default Chromium error page.

Important: the engine will be blocked until the Handle() method returns. It is not allowed to invoke any engine methods in the scope of this handler implementation.

Exceptions

ObjectDisposedException

The INavigation has already been disposed.