WebViewLongRunningScriptDetectedEventArgs.ExecutionTime property

Applies to Windows and Windows Phone

Gets the number of milliseconds that the WebView control has been executing a long-running script.

Syntax


public TimeSpan ExecutionTime { get; }

Property value

Type: System.TimeSpan [.NET] | Windows::Foundation::TimeSpan [C++]

The number of milliseconds the script has been running.

Remarks

If the script is still running after 5 seconds, the app will hang. To halt the script, set the StopPageScriptExecution property to true. The halted script will not resume for the lifetime of the WebView.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

WebViewLongRunningScriptDetectedEventArgs
WebView
LongRunningScriptDetected

 

 

Show:
© 2014 Microsoft