The OpenD Programming Language

ICoreWebView2NavigationStartingEventArgs.get_Cancel

The host may set this flag to cancel the navigation. If set, the navigation is not longer present and the content of the current page is intact. For performance reasons, GET HTTP requests may happen, while the host is responding. You may set cookies and use part of a request for the navigation. Cancellation for navigation to about:blank or frame navigation to srcdoc is not supported. Such attempts are ignored. A cancelled navigation will fire a NavigationCompleted event with a WebErrorStatus of COREWEBVIEW2_WEB_ERROR_STATUS_OPERATION_CANCELED.

interface ICoreWebView2NavigationStartingEventArgs
@" propget"
HRESULT
get_Cancel
(
BOOL* cancel
)

Meta