[This is preliminary documentation and is subject to change.]

The INavigationInterceptor type exposes the following members.

Methods

  NameDescription
Public methodAddRule(NavigationFilterRule)
Adds a navigation filtering rule for navigations to resources that match the specified Filter.
Public methodAddRule(String, NavigationRule)
Adds a navigation filtering rule for navigations to resources that match the specified pattern.
Public methodAddRules
Adds one or more navigation filtering rules.
Public methodClear
Clears all filtering rules applied.
Public methodContains
Gets if a specified filter pattern, matches any of the filtering rules currently applied.
Public methodGetRule
Gets the navigation filtering rule for the specified url string.
Public methodRemoveRules(String)
Remove any of the currently applied filtering rules, that match a given filter pattern.
Public methodRemoveRules(String, NavigationRule)
Remove any of the currently applied filtering rules, that match a given filter pattern and navigation rule.

Properties

  NameDescription
Public propertyBlacklist
Gets a list of navigation filter patterns that have been explicitly assigned the Deny rule.
Public propertyImplicitRule
Gets or sets the rule that will be applied to any navigation attempt that does not match a rule explicitly applied through AddRule(String, NavigationRule). The default is Allow.
Public propertyWhitelist
Gets a list of navigation filter patterns that have been explicitly assigned the Allow rule.

Events

  NameDescription
Public eventBeginLoadingFrame
Occurs when a frame is about to begin loading in the view. This event allows you to cancel loading the frame, potentially preventing navigations as well.
Public eventBeginNavigation
Occurs when a view begins navigating to a new URL. This event allows you to cancel the navigation.

See Also