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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.