WebViewControlLongRunningScriptDetectedEventArgs.StopPageScriptExecution Property

Definition

Halts a long-running script executing in a IWebViewControl.

C#
public bool StopPageScriptExecution { get; set; }

Property Value

Boolean

true to halt the script; otherwise, false.

Remarks

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.

Applies to

Product Versions
WinRT Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100