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: Int32
The time limit for the test run.
Exceptions
Exception | Condition |
---|---|
Common_CannotBeLessThanZero | Time limit < 0. |
.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.