ILoadTestAdapter.LoadRun Method
Thread-safe Run method.
Namespace: Microsoft.VisualStudio.TestTools.TestAdapter
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
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
)
Parameters
- testElement
Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
The test element.
- testContext
Type: Microsoft.VisualStudio.TestTools.Execution.ITestContext
The test context.
Remarks
If a test adapter implements this method, it must be thread safe.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.