Table of Contents

Property StartNavigationHandler

Namespace
DotNetBrowser.Navigation
Assembly
DotNetBrowser.dll

StartNavigationHandler

Gets or sets a handler that is used before the browser starts navigation to a resource.

IHandler<StartNavigationParameters, StartNavigationResponse> StartNavigationHandler { get; set; }

Property Value

IHandler<StartNavigationParameters, StartNavigationResponse>

Remarks

Use Start() to allow navigation start.

Use Ignore() to ignore navigation request.

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

Exceptions

ObjectDisposedException

The INavigation has already been disposed.