TestRunConfiguration.TestTimeout Property
Gets or sets the time limit for testing.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Property TestTimeout As Integer
public int TestTimeout { get; set; }
public:
property int TestTimeout {
int get ();
void set (int value);
}
member TestTimeout : int with get, set
function get TestTimeout () : int
function set TestTimeout (value : int)
Property Value
Type: System.Int32
Time limit for testing.
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.