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
'Usage
Dim instance As TestRunConfiguration 
Dim value As Integer 

value = instance.RunTimeout

instance.RunTimeout = value
public int RunTimeout { get; set; }
public:
property int RunTimeout {
    int get ();
    void set (int value);
}
public function get RunTimeout () : int 
public 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

TestRunConfiguration Members

Microsoft.VisualStudio.TestTools.Common Namespace