CoreWebView2LaunchingExternalUriSchemeEventArgs Class

Definition

Event args for the LaunchingExternalUriScheme event.

public class CoreWebView2LaunchingExternalUriSchemeEventArgs : EventArgs
type CoreWebView2LaunchingExternalUriSchemeEventArgs = class
    inherit EventArgs
Public Class CoreWebView2LaunchingExternalUriSchemeEventArgs
Inherits EventArgs
Inheritance
CoreWebView2LaunchingExternalUriSchemeEventArgs

Properties

Cancel

Determines whether to cancel the navigation.

InitiatingOrigin

Gets the origin initiating the external URI scheme launch. If the InitiatingOrigin is opaque, the InitiatingOrigin reported in the event args will be its precursor origin. The precursor origin is the origin that created the opaque origin. For example, if a frame on example.com opens a subframe with a different opaque origin, the subframe's precursor origin is example.com.

IsUserInitiated

true when the launching external URI scheme request was initiated through a user gesture.

Uri

Gets the URI with the external URI scheme to be launched.

Methods

GetDeferral()

Gets a CoreWebView2Deferral object and put the event into a deferred state.

Applies to