Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the time that is required to execute the test.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions
Assembly: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in microsoft.visualstudio.teamsystem.data.unittesting.dll)
Syntax
'Declaration
Public Property ExecutionTime As TimeSpan
'Usage
Dim instance As ExecutionTimeCondition
Dim value As TimeSpan
value = instance.ExecutionTime
instance.ExecutionTime = value
public TimeSpan ExecutionTime { get; set; }
public:
property TimeSpan ExecutionTime {
TimeSpan get ();
void set (TimeSpan value);
}
/** @property */
public TimeSpan get_ExecutionTime ()
/** @property */
public void set_ExecutionTime (TimeSpan value)
public function get ExecutionTime () : TimeSpan
public function set ExecutionTime (value : TimeSpan)
Exceptions
| Exception type | Condition |
|---|---|
If the value is less than the minimum execution time or greater than the maximum execution time as indicated by the TimeSpan. By default, the minimum execution time is set to 0 hours, 0 minutes, and 0 seconds; the maximum execution time is set to 24 hours, 0 minutes, 0 seconds. |
See Also
Reference
ExecutionTimeCondition Class
ExecutionTimeCondition Members
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions Namespace