Table of Contents

Property ShowNetErrorPageHandler

Namespace
DotNetBrowser.Navigation
Assembly
DotNetBrowser.dll

ShowNetErrorPageHandler

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.

IHandler<ShowNetErrorPageParameters, ShowNetErrorPageResponse> ShowNetErrorPageHandler { get; set; }

Property Value

IHandler<ShowNetErrorPageParameters, ShowNetErrorPageResponse>

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.

Exceptions

ObjectDisposedException

The INavigation has already been disposed.