共用方式為


TestElement.AbortRunOnAgentFailure 屬性

取得或設定值,這個值表示是否要在測試代理程式失敗時中止測試回合。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
Public Property AbortRunOnAgentFailure As Boolean
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)

屬性值

型別:System.Boolean
如果應該在測試代理程式失敗時中止測試回合,則為 true,否則為 false。

實作

ITestElement.AbortRunOnAgentFailure

.NET Framework 安全性

請參閱

參考

TestElement 類別

Microsoft.VisualStudio.TestTools.Common 命名空間