Share via


TimeoutAttribute.Timeout Property

Gets the time-out period for a unit test.

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

Syntax

'Declaration
Public ReadOnly Property Timeout As Integer
public int Timeout { get; }
public:
property int Timeout {
    int get ();
}
member Timeout : int with get
function get Timeout () : int

Property Value

Type: Int32
The time-out period for a unit test. This is measured in milliseconds.

.NET Framework Security

See Also

Reference

TimeoutAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace