ITestRunner.LoadRun Method
Runs a load test case.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Function LoadRun ( _
testElement As ITestElement(), _
resultSink As IResultSink, _
contextProperties As IDictionary(Of String, Object) _
) As AdapterRunResult
AdapterRunResult LoadRun(
ITestElement[] testElement,
IResultSink resultSink,
IDictionary<string, Object> contextProperties
)
AdapterRunResult LoadRun(
array<ITestElement^>^ testElement,
IResultSink^ resultSink,
IDictionary<String^, Object^>^ contextProperties
)
abstract LoadRun :
testElement:ITestElement[] *
resultSink:IResultSink *
contextProperties:IDictionary<string, Object> -> AdapterRunResult
function LoadRun(
testElement : ITestElement[],
resultSink : IResultSink,
contextProperties : IDictionary<String, Object>
) : AdapterRunResult
Parameters
testElement
Type: array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]Array of ITestElement objects to execute.
resultSink
Type: Microsoft.VisualStudio.TestTools.Execution.IResultSinkAn IResultSink to store the results of the tests.
contextProperties
Type: IDictionary<String, Object>An [T:System.Collections.Generic.IDictionary<TKey,TValue>] object that contains the context properties for the test.
Return Value
Type: Microsoft.VisualStudio.TestTools.Execution.AdapterRunResult
A member of the AdapterRunResult enumeration that indicates the success or failure of each test.
.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.