TestElement.AbortRunOnAgentFailure 屬性
取得或設定值,這個值表示是否要在測試代理程式失敗時中止測試回合。
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
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)
屬性值
型別:System.Boolean
如果應該在測試代理程式失敗時中止測試回合,則為 true,否則為 false。
實作
ITestElement.AbortRunOnAgentFailure
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。