ITestResult.Duration Property
Gets or sets the time that was spent to execute the test. This does not include the time during which the execution was paused.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Property Duration As TimeSpan
TimeSpan Duration { get; set; }
property TimeSpan Duration {
TimeSpan get ();
void set (TimeSpan value);
}
abstract Duration : TimeSpan with get, set
function get Duration () : TimeSpan
function set Duration (value : TimeSpan)
Property Value
Type: TimeSpan
The total time that was spent to execute the test.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.