WKNavigationDelegate_Extensions.DecidePolicy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DecidePolicy(IWKNavigationDelegate, WKWebView, WKNavigationAction, Action<WKNavigationActionPolicy>) |
Assigns an action to be taken after the specified |
DecidePolicy(IWKNavigationDelegate, WKWebView, WKNavigationResponse, Action<WKNavigationResponsePolicy>) |
Assigns an action to be taken after the specified |
DecidePolicy(IWKNavigationDelegate, WKWebView, WKNavigationAction, Action<WKNavigationActionPolicy>)
Assigns an action to be taken after the specified navigationAction
has been either canceled or allowed.
public static void DecidePolicy (this WebKit.IWKNavigationDelegate This, WebKit.WKWebView webView, WebKit.WKNavigationAction navigationAction, Action<WebKit.WKNavigationActionPolicy> decisionHandler);
static member DecidePolicy : WebKit.IWKNavigationDelegate * WebKit.WKWebView * WebKit.WKNavigationAction * Action<WebKit.WKNavigationActionPolicy> -> unit
Parameters
The instance on which this extension method operates.
- webView
- WKWebView
- navigationAction
- WKNavigationAction
- decisionHandler
- Action<WKNavigationActionPolicy>
Applies to
DecidePolicy(IWKNavigationDelegate, WKWebView, WKNavigationResponse, Action<WKNavigationResponsePolicy>)
Assigns an action to be taken after the specified navigationResponse
has been either canceled or allowed.
public static void DecidePolicy (this WebKit.IWKNavigationDelegate This, WebKit.WKWebView webView, WebKit.WKNavigationResponse navigationResponse, Action<WebKit.WKNavigationResponsePolicy> decisionHandler);
static member DecidePolicy : WebKit.IWKNavigationDelegate * WebKit.WKWebView * WebKit.WKNavigationResponse * Action<WebKit.WKNavigationResponsePolicy> -> unit
Parameters
The instance on which this extension method operates.
- webView
- WKWebView
- navigationResponse
- WKNavigationResponse
- decisionHandler
- Action<WKNavigationResponsePolicy>