Jaa


WebViewLongRunningScriptDetectedEventArgs.StopPageScriptExecution Property

Definition

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

public:
 property bool StopPageScriptExecution { bool get(); void set(bool value); };
bool StopPageScriptExecution();

void StopPageScriptExecution(bool value);
public bool StopPageScriptExecution { get; set; }
var boolean = webViewLongRunningScriptDetectedEventArgs.stopPageScriptExecution;
webViewLongRunningScriptDetectedEventArgs.stopPageScriptExecution = boolean;
Public Property StopPageScriptExecution As Boolean

Property Value

Boolean

bool

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.

Applies to

See also