This method is called after all tests have been completed, signifying that the test run is finished,.
Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
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
)
Parameters
- run 
 Type: Microsoft.VisualStudio.TestTools.Common.TestRun- The test run that is currently processed and for which a special action is required. 
- sink 
 Type: Microsoft.VisualStudio.TestTools.Execution.IResultSink- An IResultSink object that is used to send data. 
- runContext 
 Type: Microsoft.VisualStudio.TestTools.Execution.IDataCollectionRunContext- An IDataCollectionRunContext object that represents the context for the test. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITestExecutionPlugin Interface