TestResultAggregation - конструктор (ComputerInfo, Guid, ITestElement)
Примечание. Данный API устарел.
Инициализирует новый экземпляр класса TestResultAggregation, используя предоставленные сведения о компьютере, идентификатор запуска и элемент теста.
Пространство имен: Microsoft.VisualStudio.TestTools.Common
Сборка: Microsoft.VisualStudio.QualityTools.Common (в Microsoft.VisualStudio.QualityTools.Common.dll)
Синтаксис
'Декларация
<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")> _
Public Sub New ( _
computerInfo As ComputerInfo, _
runId As Guid, _
test As ITestElement _
)
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")]
public TestResultAggregation(
ComputerInfo computerInfo,
Guid runId,
ITestElement test
)
[ObsoleteAttribute(L"This constructor is obsolete. Use the constructor that takes string instead.")]
public:
TestResultAggregation(
ComputerInfo^ computerInfo,
Guid runId,
ITestElement^ test
)
[<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")>]
new :
computerInfo:ComputerInfo *
runId:Guid *
test:ITestElement -> TestResultAggregation
public function TestResultAggregation(
computerInfo : ComputerInfo,
runId : Guid,
test : ITestElement
)
Параметры
- computerInfo
Тип: Microsoft.VisualStudio.TestTools.Common.ComputerInfo
Объект ComputerInfo, содержащий сведения о компьютере, на котором был запущен тест.
- runId
Тип: System.Guid
ИД тестового запуска.
- test
Тип: Microsoft.VisualStudio.TestTools.Common.ITestElement
Объект ITestElement.
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Использование библиотек из не вполне надежного кода.
См. также
Ссылки
TestResultAggregation - перегрузка