WebViewControlLongRunningScriptDetectedEventArgs.StopPageScriptExecution Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Halts a long-running script executing in a IWebViewControl.
public:
property bool StopPageScriptExecution { bool get(); void set(bool value); };
bool StopPageScriptExecution();
void StopPageScriptExecution(bool value);
public bool StopPageScriptExecution { get; set; }
var boolean = webViewControlLongRunningScriptDetectedEventArgs.stopPageScriptExecution;
webViewControlLongRunningScriptDetectedEventArgs.stopPageScriptExecution = boolean;
Public Property StopPageScriptExecution As Boolean
bool
true to halt the script; otherwise, false.
The halted script will not resume for the lifetime of the IWebViewControl unless it is reloaded during a subsequent IWebViewControl navigation. 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.
Product | Versions |
---|---|
WinRT | Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |