WebViewControl.UnsupportedUriSchemeIdentified 事件

定义

尝试使用控件不支持的方案导航到 URI 时触发的事件。

有关详细信息,请参阅 Windows.Web.UI.IWebViewControl

// Register
event_token UnsupportedUriSchemeIdentified(TypedEventHandler<IWebViewControl, WebViewControlUnsupportedUriSchemeIdentifiedEventArgs const&> const& handler) const;

// Revoke with event_token
void UnsupportedUriSchemeIdentified(event_token const* cookie) const;

// Revoke with event_revoker
WebViewControl::UnsupportedUriSchemeIdentified_revoker UnsupportedUriSchemeIdentified(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlUnsupportedUriSchemeIdentifiedEventArgs const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> UnsupportedUriSchemeIdentified;
function onUnsupportedUriSchemeIdentified(eventArgs) { /* Your code */ }
webViewControl.addEventListener("unsupportedurischemeidentified", onUnsupportedUriSchemeIdentified);
webViewControl.removeEventListener("unsupportedurischemeidentified", onUnsupportedUriSchemeIdentified);
- or -
webViewControl.onunsupportedurischemeidentified = onUnsupportedUriSchemeIdentified;
Public Custom Event UnsupportedUriSchemeIdentified As TypedEventHandler(Of IWebViewControl, WebViewControlUnsupportedUriSchemeIdentifiedEventArgs) Implements UnsupportedUriSchemeIdentified

事件类型

实现

适用于