Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
WebViewControl.UnsafeContentWarningDisplaying Event
Definition
- Namespace:
- Windows.Web.UI.Interop
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.
An event that is triggered when the control 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
WebViewControl::UnsafeContentWarningDisplaying_revoker UnsafeContentWarningDisplaying(auto_revoke_t, TypedEventHandler<IWebViewControl, IInspectable const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,object> UnsafeContentWarningDisplaying;
function onUnsafeContentWarningDisplaying(eventArgs) { /* Your code */ }
webViewControl.addEventListener("unsafecontentwarningdisplaying", onUnsafeContentWarningDisplaying);
webViewControl.removeEventListener("unsafecontentwarningdisplaying", onUnsafeContentWarningDisplaying);
- or -
webViewControl.onunsafecontentwarningdisplaying = onUnsafeContentWarningDisplaying;
Public Custom Event UnsafeContentWarningDisplaying As TypedEventHandler(Of IWebViewControl, Object) Implements UnsafeContentWarningDisplaying
Event Type
TypedEventHandler<IWebViewControl,IInspectable>
Implements
Applies to
Feedback
Was this page helpful?
