WebUIView.UnsupportedUriSchemeIdentified Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsqu’une tentative est effectuée pour accéder à un URI à l’aide d’un schéma que le contrôle ne prend pas en charge.
// 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
WebUIView::UnsupportedUriSchemeIdentified_revoker UnsupportedUriSchemeIdentified(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlUnsupportedUriSchemeIdentifiedEventArgs const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> UnsupportedUriSchemeIdentified;
function onUnsupportedUriSchemeIdentified(eventArgs) { /* Your code */ }
webUIView.addEventListener("unsupportedurischemeidentified", onUnsupportedUriSchemeIdentified);
webUIView.removeEventListener("unsupportedurischemeidentified", onUnsupportedUriSchemeIdentified);
- or -
webUIView.onunsupportedurischemeidentified = onUnsupportedUriSchemeIdentified;
Public Custom Event UnsupportedUriSchemeIdentified As TypedEventHandler(Of IWebViewControl, WebViewControlUnsupportedUriSchemeIdentifiedEventArgs) Implements UnsupportedUriSchemeIdentified