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
public bool AbortRunOnAgentFailure { get; set; }
public:
virtual property bool AbortRunOnAgentFailure {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract AbortRunOnAgentFailure : bool with get, set 
override AbortRunOnAgentFailure : bool with get, set
final function get AbortRunOnAgentFailure () : boolean 
final function set AbortRunOnAgentFailure (value : boolean)

Property Value

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

Microsoft.VisualStudio.TestTools.Common Namespace