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
)
Параметры
testElement
Тип: Microsoft.VisualStudio.TestTools.Common.ITestElementЭлемент теста.
testContext
Тип: Microsoft.VisualStudio.TestTools.Execution.ITestContextКонтекст теста.
Заметки
Если адаптер теста реализует этот метод, он должен быть потокобезопасным.
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Для получения дополнительной информации см. Использование библиотек из не вполне надежного кода.
См. также
Ссылки
Microsoft.VisualStudio.TestTools.TestAdapter - пространство имен