ITestElement.IsRunOnRestart Property
Gets a value that indicates whether the test run will restart with this test if it crashes during a test run.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Property IsRunOnRestart As Boolean
'Usage
Dim instance As ITestElement
Dim value As Boolean
value = instance.IsRunOnRestart
instance.IsRunOnRestart = value
bool IsRunOnRestart { get; set; }
property bool IsRunOnRestart {
bool get ();
void set (bool value);
}
function get IsRunOnRestart () : boolean
function set IsRunOnRestart (value : boolean)
Property Value
Type: System.Boolean
true if the test run will restart with this test if it crashes during a test run; otherwise, false.
.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.