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
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

See Also

Reference

ITestElement Interface

Microsoft.VisualStudio.TestTools.Common Namespace