Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestRunConfiguration::GetTestElementTimeout Method (ITestElement^)

 

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)

public:
int GetTestElementTimeout(
	ITestElement^ test
)

Parameters

test
Type: Microsoft.VisualStudio.TestTools.Common::ITestElement^

Test object for which the time-out is requested.

Return Value

Type: System::Int32

The time-out for the specified test.

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

Return to top
Show: