ITestElement.AbortRunOnAgentFailure 属性

获取或设置一个值,该值指示当测试代理失败时是否中止整个测试运行。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

声明
Property AbortRunOnAgentFailure As Boolean
    Get
    Set
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)

属性值

类型:System.Boolean
如果当测试代理失败时中止整个测试运行,则为 true;否则为 false。

.NET Framework 安全性

请参见

参考

ITestElement 接口

Microsoft.VisualStudio.TestTools.Common 命名空间