The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public int Timeout { get; }

Property Value

Type: System.Int32

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

Return to top