Bagikan melalui


ITimeoutTestAdapter.TestTimeout Method

Called by the agent to stop an individual test instead of stopping the whole run. Called when the test times out.

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

Syntax

'Declaration
Sub TestTimeout ( _
    test As ITestElement _
)
void TestTimeout(
    ITestElement test
)
void TestTimeout(
    ITestElement^ test
)
abstract TestTimeout : 
        test:ITestElement -> unit
function TestTimeout(
    test : ITestElement
)

Parameters

.NET Framework Security

See Also

Reference

ITimeoutTestAdapter Interface

Microsoft.VisualStudio.TestTools.TestAdapter Namespace