スレッド セーフな実行メソッド。
名前空間: 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
)
パラメーター
- testElement
型: Microsoft.VisualStudio.TestTools.Common.ITestElement
テスト要素。
- testContext
型: Microsoft.VisualStudio.TestTools.Execution.ITestContext
テスト コンテキスト。
解説
テスト アダプターがこのメソッドを実装する場合は、スレッド セーフである必要があります。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。