Share via


ExecutionTimeCondition Class

Allows you to specify the maximum amount of time that the Transact-SQL (T-SQL) statement or statements can take to execute before the test fails.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions
Assembly: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in microsoft.visualstudio.teamsystem.data.unittesting.dll)

Syntax

'Declaration
Public Class ExecutionTimeCondition
    Inherits TestCondition
'Usage
Dim instance As ExecutionTimeCondition
public class ExecutionTimeCondition : TestCondition
public ref class ExecutionTimeCondition : public TestCondition
public class ExecutionTimeCondition extends TestCondition
public class ExecutionTimeCondition extends TestCondition

Remarks

The default value is 30 seconds. Increase this value if you need to debug into the stored procedure.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions.TestCondition
        Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions.ExecutionTimeCondition

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ExecutionTimeCondition Members
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions Namespace