Share via


TestElement.AbortRunOnAgentFailure Property

Gets or sets a value that indicates whether the test run will be aborted if a test agent fails.

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

Syntax

'Declaration
Public Property AbortRunOnAgentFailure As Boolean
'Usage
Dim instance As TestElement 
Dim value As Boolean 

value = instance.AbortRunOnAgentFailure

instance.AbortRunOnAgentFailure = value
public bool AbortRunOnAgentFailure { get; set; }
public:
virtual property bool AbortRunOnAgentFailure {
    bool get () sealed;
    void set (bool value) sealed;
}
public final function get AbortRunOnAgentFailure () : boolean 
public final function set AbortRunOnAgentFailure (value : boolean)

Property Value

Type: System.Boolean
true if the test run should be aborted if a test agent fails; otherwise, false.

Implements

ITestElement.AbortRunOnAgentFailure

.NET Framework Security

See Also

Reference

TestElement Class

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace