Share via


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

See Also

Reference

ITestElement Interface

ITestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace