ILoadTestAdapter.LoadRun 方法

线程安全的 Run 方法。

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

语法

声明
Sub LoadRun ( _
    testElement As ITestElement, _
    testContext As ITestContext _
)
void LoadRun(
    ITestElement testElement,
    ITestContext testContext
)
void LoadRun(
    ITestElement^ testElement, 
    ITestContext^ testContext
)
abstract LoadRun : 
        testElement:ITestElement * 
        testContext:ITestContext -> unit 
function LoadRun(
    testElement : ITestElement, 
    testContext : ITestContext
)

参数

备注

如果测试适配器实现此方法,它必须是线程安全的。

.NET Framework 安全性

请参见

参考

ILoadTestAdapter 接口

Microsoft.VisualStudio.TestTools.TestAdapter 命名空间