Click or drag to resize

INavigationStartNavigationHandler Property

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

Namespace:  DotNetBrowser.Navigation
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.13.0
Syntax
C#
IHandler<StartNavigationParameters, StartNavigationResponse> StartNavigationHandler { get; set; }

Property Value

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

See Also