Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 893 Bytes

webviewlongrunningscriptdetectedeventargs_stoppagescriptexecution.md

File metadata and controls

24 lines (17 loc) · 893 Bytes
-api-id -api-type
P:Windows.UI.Xaml.Controls.WebViewLongRunningScriptDetectedEventArgs.StopPageScriptExecution
winrt property

Windows.UI.Xaml.Controls.WebViewLongRunningScriptDetectedEventArgs.StopPageScriptExecution

-description

Halts a long-running script executing in a WebView control.

-property-value

true to halt the script; otherwise, false.

-remarks

The halted script will not resume for the lifetime of the WebView. If the script is still running after 5 seconds, the app will hang. To determine how long the script has been running, check the ExecutionTime property.

-examples

-see-also

WebView, LongRunningScriptDetected