다음을 통해 공유


LongRunningScriptDetectedEvent object

Note

The features described in this document are no longer being maintained. For more information on the new WebView2 control, see Introduction to Microsoft Edge WebView2 (Preview).

Provides information for MSWebViewLongRunningScriptDetected.

Properties

executionTime

Gets the number of milliseconds that the webview element has been executing a long-running script.

var executionTime = LongRunningScriptDetectedEvent.executionTime;

Property value

Type: long

stopPageScriptExecution

Stops a long-running script executing in the webview element.

var stopPageScriptExecution = LongRunningScriptDetectedEvent.stopPageScriptExecution;

Property value

Type: Boolean