次の方法で共有


ILoadTestAdapter.LoadRun メソッド

スレッド セーフな実行メソッド。

名前空間:  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 名前空間