次の方法で共有


WebUIView.LongRunningScriptDetected イベント

定義

コントロールが JavaScript を実行している間に定期的にトリガーされ、スクリプトを停止させるイベント。

// Register
event_token LongRunningScriptDetected(TypedEventHandler<IWebViewControl, WebViewControlLongRunningScriptDetectedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
WebUIView::LongRunningScriptDetected_revoker LongRunningScriptDetected(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlLongRunningScriptDetectedEventArgs const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,WebViewControlLongRunningScriptDetectedEventArgs> LongRunningScriptDetected;
function onLongRunningScriptDetected(eventArgs) { /* Your code */ }
webUIView.addEventListener("longrunningscriptdetected", onLongRunningScriptDetected);
webUIView.removeEventListener("longrunningscriptdetected", onLongRunningScriptDetected);
- or -
webUIView.onlongrunningscriptdetected = onLongRunningScriptDetected;
Public Custom Event LongRunningScriptDetected As TypedEventHandler(Of IWebViewControl, WebViewControlLongRunningScriptDetectedEventArgs) Implements LongRunningScriptDetected

イベントの種類

実装

適用対象