WebView.UnsafeContentWarningDisplaying Event
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.
// Register
event_token UnsafeContentWarningDisplaying(TypedEventHandler<WebView, IInspectable const&> const& handler) const;
// Revoke with event_token
void UnsafeContentWarningDisplaying(event_token const* cookie) const;
// Revoke with event_revoker
WebView::UnsafeContentWarningDisplaying_revoker UnsafeContentWarningDisplaying(auto_revoke_t, TypedEventHandler<WebView, IInspectable const&> const& handler) const;
public event TypedEventHandler<WebView,object> UnsafeContentWarningDisplaying;
function onUnsafeContentWarningDisplaying(eventArgs) { /* Your code */ }
webView.addEventListener("unsafecontentwarningdisplaying", onUnsafeContentWarningDisplaying);
webView.removeEventListener("unsafecontentwarningdisplaying", onUnsafeContentWarningDisplaying);
- or -
webView.onunsafecontentwarningdisplaying = onUnsafeContentWarningDisplaying;
Public Custom Event UnsafeContentWarningDisplaying As TypedEventHandler(Of WebView, Object)
<WebView UnsafeContentWarningDisplaying="eventhandler" />
TypedEventHandler<WebView,IInspectable>
This event is not implemented on Windows Phone 8.1 and will never be raised.
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.