UnsafeContentWarningDisplaying event
TOC
Collapse the table of content
Expand the table of content

WebView.UnsafeContentWarningDisplaying event

[ Updated for UWP apps on Windows 10. For Windows 8.x articles, see the archive ]

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

Syntax


public:
event TypedEventHandler<WebView, Object>^ UnsafeContentWarningDisplaying {
   Windows::Foundation::EventRegistrationToken add(TypedEventHandler<WebView, Object>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}


<WebView UnsafeContentWarningDisplaying="eventhandler" />

Event information

Delegate TypedEventHandler<WebView, Object>

Remarks

Note  

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.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

WebView

 

 

Show:
© 2016 Microsoft