Click or drag to resize

INavigationShowNetErrorPageHandler Property

Gets or sets a handler that is used when the engine is about to display a network error web page because the required web resource cannot be loaded because of a network error.

Namespace:  DotNetBrowser.Navigation
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.1
Syntax
C#
IHandler<ShowNetErrorPageParameters, ShowNetErrorPageResponse> ShowNetErrorPageHandler { get; set; }

Property Value

Type: IHandlerShowNetErrorPageParameters, ShowNetErrorPageResponse
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe INavigation has already been disposed.
Remarks

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

Use ShowDefault to display the default Chromium network 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