Click or drag to resize

INavigationShowHttpErrorPageHandler Property

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.

Namespace:  DotNetBrowser.Navigation
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.19.0
Syntax
C#
IHandler<ShowHttpErrorPageParameters, ShowHttpErrorPageResponse> ShowHttpErrorPageHandler { get; set; }

Property Value

Type: IHandlerShowHttpErrorPageParameters, ShowHttpErrorPageResponse
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe INavigation has already been disposed.
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.

See Also