Share via


TestRunConfiguration.AbortRunOnError Property

Gets or sets a Boolean value that indicates whether to stop the test run if an error occurs.

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

Syntax

'Declaration
Public Property AbortRunOnError As Boolean
public bool AbortRunOnError { get; set; }
public:
property bool AbortRunOnError {
    bool get ();
    void set (bool value);
}
member AbortRunOnError : bool with get, set
function get AbortRunOnError () : boolean
function set AbortRunOnError (value : boolean)

Property Value

Type: System.Boolean
true if the test run must stop if an error occurs; otherwise, false.

.NET Framework Security

See Also

Reference

TestRunConfiguration Class

Microsoft.VisualStudio.TestTools.Common Namespace