共用方式為


TestTimeout Enumeration

Enumeration for time-outs that can be used with the TimeoutAttribute class.

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

Syntax

'Declaration
Public Enumeration TestTimeout
public enum TestTimeout
public enum class TestTimeout
type TestTimeout
public enum TestTimeout

Members

Member name Description
Infinite The maximum time-out amount.

Remarks

The type of the enumeration must match.

See Also

Reference

Microsoft.VisualStudio.TestTools.UnitTesting Namespace