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
bool IsRunOnRestart { get; set; }
property bool IsRunOnRestart {
bool get ();
void set (bool value);
}
abstract IsRunOnRestart : bool with get, set
function get IsRunOnRestart () : boolean
function set IsRunOnRestart (value : boolean)
Property Value
Type: 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.