Share via


TestRunConfiguration.GetTestElementTimeout Method

Returns the time-out that is specified for the given test.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Function GetTestElementTimeout ( _
    test As ITestElement _
) As Integer
public int GetTestElementTimeout(
    ITestElement test
)
public:
int GetTestElementTimeout(
    ITestElement^ test
)
member GetTestElementTimeout : 
        test:ITestElement -> int 
public function GetTestElementTimeout(
    test : ITestElement
) : int

Parameters

Return Value

Type: System.Int32
The time-out for the specified test.

Remarks

If the test object does not specify the time-out, the execution will use [P:Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration.TestTimeout.]

.NET Framework Security

See Also

Reference

TestRunConfiguration Class

Microsoft.VisualStudio.TestTools.Common Namespace

ITestElement