このメソッドは、テストの完了後に呼び出されます。
名前空間: Microsoft.VisualStudio.TestTools.Execution
アセンブリ: Microsoft.VisualStudio.QualityTools.ExecutionCommon (Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 内)
構文
'宣言
Sub AfterTestCompleted ( _
runContext As IDataCollectionRunContext, _
id As TestExecId _
)
void AfterTestCompleted(
IDataCollectionRunContext runContext,
TestExecId id
)
void AfterTestCompleted(
IDataCollectionRunContext^ runContext,
TestExecId^ id
)
abstract AfterTestCompleted :
runContext:IDataCollectionRunContext *
id:TestExecId -> unit
function AfterTestCompleted(
runContext : IDataCollectionRunContext,
id : TestExecId
)
パラメーター
- runContext
型: Microsoft.VisualStudio.TestTools.Execution.IDataCollectionRunContext
テストのコンテキストを表す IDataCollectionRunContext オブジェクト。
- id
型: Microsoft.VisualStudio.TestTools.Common.TestExecId
テスト ID。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。