Share via


TestElement.IsRunOnRestart Property

Gets or sets a value that indicates whether this test element is to be run if the test run is restarted.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Property IsRunOnRestart As Boolean
public bool IsRunOnRestart { get; set; }
public:
virtual property bool IsRunOnRestart {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract IsRunOnRestart : bool with get, set 
override IsRunOnRestart : bool with get, set
final function get IsRunOnRestart () : boolean 
final function set IsRunOnRestart (value : boolean)

Property Value

Type: Boolean
true if this test element is to be run if the test run is restarted; otherwise, false.

Implements

ITestElement.IsRunOnRestart

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace