Share via


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

See Also

Reference

ITestResult Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace