Condividi tramite


Proprietà ITestElement.AbortRunOnAgentFailure

Ottiene o imposta un valore che indica se interrompere l'intera esecuzione dei test se un agente di test ha esito negativo.

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

Sintassi

'Dichiarazione
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)

Valore proprietà

Tipo: System.Boolean
true per interrompere l'intera esecuzione dei test se un agente di test non riesce, in caso contrario, false.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ITestElement Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TestTools.Common