WebViewLongRunningScriptDetectedEventArgs.ExecutionTime 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
property TimeSpan ExecutionTime { TimeSpan get(); };
TimeSpan ExecutionTime();
public System.TimeSpan ExecutionTime { get; }
var timeSpan = webViewLongRunningScriptDetectedEventArgs.executionTime;
Public ReadOnly Property ExecutionTime As TimeSpan
属性值
脚本运行的毫秒数。
注解
如果脚本在 5 秒后仍在运行,应用将挂起。 若要停止脚本,请将 StopPageScriptExecution 属性设置为 true。 停止的脚本在 WebView 的生存期内不会恢复。
适用于
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈