TestResultAggregation Constructor (String, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult )
Initializes a new instance of the TestResultAggregation class using the provided parameters.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
computerInfo As String, _
runId As Guid, _
test As ITestElement, _
outcome As TestOutcome, _
counters As TestResultCounter, _
innerResults As TestResult() _
)
public TestResultAggregation(
string computerInfo,
Guid runId,
ITestElement test,
TestOutcome outcome,
TestResultCounter counters,
TestResult[] innerResults
)
public:
TestResultAggregation(
String^ computerInfo,
Guid runId,
ITestElement^ test,
TestOutcome outcome,
TestResultCounter^ counters,
array<TestResult^>^ innerResults
)
new :
computerInfo:string *
runId:Guid *
test:ITestElement *
outcome:TestOutcome *
counters:TestResultCounter *
innerResults:TestResult[] -> TestResultAggregation
public function TestResultAggregation(
computerInfo : String,
runId : Guid,
test : ITestElement,
outcome : TestOutcome,
counters : TestResultCounter,
innerResults : TestResult[]
)
Parameters
computerInfo
Type: StringThe name of the machine where the tests were run.
runId
Type: GuidThe ID for the test run.
test
Type: Microsoft.VisualStudio.TestTools.Common.ITestElementAn ITestElement object.
outcome
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcomeA TestOutcome object.
counters
Type: Microsoft.VisualStudio.TestTools.Common.TestResultCounterA TestResultCounter object.
innerResults
Type: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]An array of TestResult objects.
.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