共用方式為


WebUIView.UnsafeContentWarningDisplaying 事件

定義

發生于控制項針對 SmartScreen 篩選報告為不安全的內容顯示警告頁面時。

// 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
WebUIView::UnsafeContentWarningDisplaying_revoker UnsafeContentWarningDisplaying(auto_revoke_t, TypedEventHandler<IWebViewControl, IInspectable const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,object> UnsafeContentWarningDisplaying;
function onUnsafeContentWarningDisplaying(eventArgs) { /* Your code */ }
webUIView.addEventListener("unsafecontentwarningdisplaying", onUnsafeContentWarningDisplaying);
webUIView.removeEventListener("unsafecontentwarningdisplaying", onUnsafeContentWarningDisplaying);
- or -
webUIView.onunsafecontentwarningdisplaying = onUnsafeContentWarningDisplaying;
Public Custom Event UnsafeContentWarningDisplaying As TypedEventHandler(Of IWebViewControl, Object) Implements UnsafeContentWarningDisplaying

事件類型

實作

適用於