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
'Usage
Dim instance As TestElement
Dim value As Boolean
value = instance.IsRunOnRestart
instance.IsRunOnRestart = value
public bool IsRunOnRestart { get; set; }
public:
virtual property bool IsRunOnRestart {
bool get () sealed;
void set (bool value) sealed;
}
public final function get IsRunOnRestart () : boolean
public final function set IsRunOnRestart (value : boolean)
Property Value
Type: System.Boolean
true if this test element is to be run if the test run is restarted; otherwise, false.
Implements
.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.