IBaseAdapter.AbortTestRun 方法
在測試回合期間發生內部錯誤時呼叫。這個方法的行為應該與 StopTestRun 方法類似。
命名空間: Microsoft.VisualStudio.TestTools.Execution
組件: Microsoft.VisualStudio.QualityTools.ExecutionCommon (在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)
語法
'宣告
Sub AbortTestRun
void AbortTestRun()
void AbortTestRun()
abstract AbortTestRun : unit -> unit
function AbortTestRun()
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。