Condividi tramite


Proprietà TestElement.AbortRunOnAgentFailure

Ottiene o imposta un valore che indica se verrà interrotta l'intera esecuzione dei test nel caso in cui un agente di test abbia esito negativo.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Sintassi

'Dichiarazione
Public Property AbortRunOnAgentFailure As Boolean
    Get
    Set
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)

Valore proprietà

Tipo: System.Boolean
true se l'esecuzione dei test deve essere interrotta nel caso in cui un agente di test abbia esito negativo; in caso contrario, false.

Implementa

ITestElement.AbortRunOnAgentFailure

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TestElement Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.Common