Share via


ExecutionTimeCondition.Assert Method

This member overrides TestCondition.Assert(DbConnection, array<ExecutionResult[]).

Namespace:  Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Conditions
Assembly:  Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.dll)

Syntax

'Declaration
Public Overrides Sub Assert ( _
    validationConnection As DbConnection, _
    results As ExecutionResult() _
)
'Usage
Dim instance As ExecutionTimeCondition
Dim validationConnection As DbConnection
Dim results As ExecutionResult()

instance.Assert(validationConnection, _
    results)
public override void Assert(
    DbConnection validationConnection,
    ExecutionResult[] results
)
public:
virtual void Assert(
    DbConnection^ validationConnection, 
    array<ExecutionResult^>^ results
) override
public override function Assert(
    validationConnection : DbConnection, 
    results : ExecutionResult[]
)

Parameters

Exceptions

Exception Condition
AssertFailedException

If the value of ExecutionTime is greater than the maximum execution time.

Permissions

See Also

Reference

ExecutionTimeCondition Class

ExecutionTimeCondition Members

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