Share via


TestRunConfiguration.RunTimeout Property

Gets or sets the time limit for the test run.

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

Syntax

'Declaration
Public Property RunTimeout As Integer
public int RunTimeout { get; set; }
public:
property int RunTimeout {
    int get ();
    void set (int value);
}
member RunTimeout : int with get, set
function get RunTimeout () : int
function set RunTimeout (value : int)

Property Value

Type: System.Int32
The time limit for the test run.

Exceptions

Exception Condition
Common_CannotBeLessThanZero

Time limit < 0.

.NET Framework Security

See Also

Reference

TestRunConfiguration Class

Microsoft.VisualStudio.TestTools.Common Namespace