IWebViewControl.UnsafeContentWarningDisplaying 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.
Occurs when the IWebViewControl shows a warning page for content that was reported as unsafe by SmartScreen Filter.
// Register
event_token UnsafeContentWarningDisplaying(TypedEventHandler<IWebViewControl, IInspectable const&> const& handler) const;
// Revoke with event_token
void UnsafeContentWarningDisplaying(event_token const* cookie) const;
// Revoke with event_revoker
IWebViewControl::UnsafeContentWarningDisplaying_revoker UnsafeContentWarningDisplaying(auto_revoke_t, TypedEventHandler<IWebViewControl, IInspectable const&> const& handler) const;
event TypedEventHandler<IWebViewControl,object> UnsafeContentWarningDisplaying;
function onUnsafeContentWarningDisplaying(eventArgs) { /* Your code */ }
iWebViewControl.addEventListener("unsafecontentwarningdisplaying", onUnsafeContentWarningDisplaying);
iWebViewControl.removeEventListener("unsafecontentwarningdisplaying", onUnsafeContentWarningDisplaying);
- or -
iWebViewControl.onunsafecontentwarningdisplaying = onUnsafeContentWarningDisplaying;
Event UnsafeContentWarningDisplaying As TypedEventHandler(Of IWebViewControl, Object)
Event Type
TypedEventHandler<IWebViewControl,IInspectable>
Remarks
This event occurs when the warning page appears. If the user chooses to continue the navigation, subsequent navigation to the page will not display the warning nor fire the event.