共用方式為


IBaseAdapter.Run 方法

呼叫以執行測試回合。

命名空間:  Microsoft.VisualStudio.TestTools.Execution
組件:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

語法

'宣告
Sub Run ( _
    testElement As ITestElement, _
    testContext As ITestContext _
)
void Run(
    ITestElement testElement,
    ITestContext testContext
)
void Run(
    ITestElement^ testElement, 
    ITestContext^ testContext
)
abstract Run : 
        testElement:ITestElement * 
        testContext:ITestContext -> unit 
function Run(
    testElement : ITestElement, 
    testContext : ITestContext
)

參數

.NET Framework 安全性

請參閱

參考

IBaseAdapter 介面

Microsoft.VisualStudio.TestTools.Execution 命名空間