获取或设置要执行测试所用的时间。这不包括执行暂停期间的时间。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
TimeSpan Duration { get; set; }
property TimeSpan Duration {
TimeSpan get();
void set(TimeSpan value);
}
abstract Duration : TimeSpan with get, set
Property Duration As TimeSpan
属性值
Type: System.TimeSpan
执行测试所花费的总时间。
请参阅
ITestResult 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首