Share via


ITestElement.AbortRunOnAgentFailure Property

Gets or sets a value that indicates whether to abort the whole test run if a test agent fails.

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

Syntax

'Declaration
Property AbortRunOnAgentFailure As Boolean
bool AbortRunOnAgentFailure { get; set; }
property bool AbortRunOnAgentFailure {
    bool get ();
    void set (bool value);
}
abstract AbortRunOnAgentFailure : bool with get, set
function get AbortRunOnAgentFailure () : boolean 
function set AbortRunOnAgentFailure (value : boolean)

Property Value

Type: Boolean
true to abort the whole test run if a test agent fails; otherwise, false.

.NET Framework Security

See Also

Reference

ITestElement Interface

Microsoft.VisualStudio.TestTools.Common Namespace