ICoreWebView2PermissionRequestedEventArgs2.get_Handled

By default, both the PermissionRequested event handlers on the CoreWebView2Frame and the CoreWebView2 will be invoked, with the CoreWebView2Frame event handlers invoked first. The host may set this flag to TRUE within the CoreWebView2Frame event handlers to prevent the remaining CoreWebView2 event handlers from being invoked.

If a deferral is taken on the event args, then you must synchronously set Handled to TRUE prior to taking your deferral to prevent the CoreWebView2s event handlers from being invoked.

interface ICoreWebView2PermissionRequestedEventArgs2
@" propget"
HRESULT
get_Handled
(
BOOL* handled
)

Meta