Freigeben über


ITestExecutionPlugin.BeforeExecutionStarted-Methode

Diese Methode wird aufgerufen, bevor eine Testlaufausführung startet.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
Sub BeforeExecutionStarted ( _
    run As TestRun, _
    sink As IResultSink, _
    runContext As IDataCollectionRunContext _
)
void BeforeExecutionStarted(
    TestRun run,
    IResultSink sink,
    IDataCollectionRunContext runContext
)
void BeforeExecutionStarted(
    TestRun^ run, 
    IResultSink^ sink, 
    IDataCollectionRunContext^ runContext
)
abstract BeforeExecutionStarted : 
        run:TestRun * 
        sink:IResultSink * 
        runContext:IDataCollectionRunContext -> unit
function BeforeExecutionStarted(
    run : TestRun, 
    sink : IResultSink, 
    runContext : IDataCollectionRunContext
)

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

ITestExecutionPlugin Schnittstelle

Microsoft.VisualStudio.TestTools.Execution-Namespace

IResultSink

IDataCollectionRunContext