TestIterationResult.Duration 属性

获取测试的持续时间。

命名空间:  Microsoft.VisualStudio.TestTools.LoadTesting
程序集:  Microsoft.VisualStudio.QualityTools.LoadTestFramework(在 Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 中)

语法

声明
Public ReadOnly Property Duration As TimeSpan
public TimeSpan Duration { get; }
public:
property TimeSpan Duration {
    TimeSpan get ();
}
member Duration : TimeSpan with get
function get Duration () : TimeSpan

属性值

类型:TimeSpan
一个 TimeSpan 结构。

.NET Framework 安全性

请参阅

参考

TestIterationResult 类

Microsoft.VisualStudio.TestTools.LoadTesting 命名空间