ITestExecutionPlugin.AfterExecutionCompleted 方法

此方法在完成所有测试之后调用,表明测试运行已完成。

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

语法

声明
Sub AfterExecutionCompleted ( _
    run As TestRun, _
    sink As IResultSink, _
    runContext As IDataCollectionRunContext _
)
void AfterExecutionCompleted(
    TestRun run,
    IResultSink sink,
    IDataCollectionRunContext runContext
)
void AfterExecutionCompleted(
    TestRun^ run, 
    IResultSink^ sink, 
    IDataCollectionRunContext^ runContext
)
abstract AfterExecutionCompleted : 
        run:TestRun * 
        sink:IResultSink * 
        runContext:IDataCollectionRunContext -> unit 
function AfterExecutionCompleted(
    run : TestRun, 
    sink : IResultSink, 
    runContext : IDataCollectionRunContext
)

参数

.NET Framework 安全性

请参见

参考

ITestExecutionPlugin 接口

Microsoft.VisualStudio.TestTools.Execution 命名空间

IResultSink

IDataCollectionRunContext