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
- 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.