CoreWebView2Frame.LaunchingExternalUriScheme Event
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.
LaunchingExternalUriScheme is raised when content in this
CoreWebView2Frame, or in one of its descendant iframes,
requests to launch a URI registered with the OS as an external
scheme handler. When the launch originates from a nested iframe,
the event bubbles outward through the tracked
CoreWebView2Frame ancestors, innermost frame first. The
frame's handlers run before the
LaunchingExternalUriScheme
handlers; set
Handled
to true in the frame handler to suppress the remaining
ancestor frame and webview-level handlers.
public event EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2LaunchingExternalUriSchemeEventArgs> LaunchingExternalUriScheme;
member this.LaunchingExternalUriScheme : EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2LaunchingExternalUriSchemeEventArgs>
Public Custom Event LaunchingExternalUriScheme As EventHandler(Of CoreWebView2LaunchingExternalUriSchemeEventArgs)