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 NotInheritable Class ExecutionTimeCondition _
    Inherits TestCondition
'Usage
Dim instance As ExecutionTimeCondition
public sealed class ExecutionTimeCondition : TestCondition
public ref class ExecutionTimeCondition sealed : public TestCondition
public final 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