IWebViewControl.UnsafeContentWarningDisplaying IWebViewControl.UnsafeContentWarningDisplaying IWebViewControl.UnsafeContentWarningDisplaying IWebViewControl.UnsafeContentWarningDisplaying IWebViewControl.UnsafeContentWarningDisplaying Event

Definition

Occurs when the IWebViewControl shows a warning page for content that was reported as unsafe by SmartScreen Filter.

public : event TypedEventHandler<IWebViewControl, object> UnsafeContentWarningDisplaying
// Register
event_token UnsafeContentWarningDisplaying(TypedEventHandler<IWebViewControl, object> const& handler) const;

// Revoke with event_token
void UnsafeContentWarningDisplaying(event_token const& cookie) const;

// Revoke with event_revoker
UnsafeContentWarningDisplaying_revoker UnsafeContentWarningDisplaying(auto_revoke_t, TypedEventHandler<IWebViewControl, object> const& handler) const;
public event TypedEventHandler<IWebViewControl, object> UnsafeContentWarningDisplaying
Public Event UnsafeContentWarningDisplaying As TypedEventHandler (Of IWebViewControl, object)
function onUnsafeContentWarningDisplaying(eventArgs){/* Your code */}


iWebViewControl.addEventListener("unsafecontentwarningdisplaying", onUnsafeContentWarningDisplaying);
iWebViewControl.removeEventListener("unsafecontentwarningdisplaying", onUnsafeContentWarningDisplaying);

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.