TestResultAggregation Constructor (ComputerInfo, Guid, ITestElement)
Note: This API is now obsolete.
Initializes a new instance of the TestResultAggregation class by using the provided computer information, run ID, and test element.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<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
)
Parameters
computerInfo
Type: Microsoft.VisualStudio.TestTools.Common.ComputerInfoA ComputerInfo object that has information about the computer that ran the test.
runId
Type: GuidThe ID for the test run.
test
Type: Microsoft.VisualStudio.TestTools.Common.ITestElementAn ITestElement object.
.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.
See Also
Reference
TestResultAggregation Overload