Sdílet prostřednictvím


TestRunConfiguration.GetTestElementTimeout – metoda

Vrátí hodnotu časového limitu pro daný test.

Obor názvů:  Microsoft.VisualStudio.TestTools.Common
Sestavení:  Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Deklarace
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

Parametry

Vrácená hodnota

Typ: System.Int32
Časový limit pro daný test.

Poznámky

Pokud test objekt neurčuje časový limit, provedení použije[P:Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration.TestTimeout.]

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

TestRunConfiguration Třída

Microsoft.VisualStudio.TestTools.Common – obor názvů

ITestElement