Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Note: This API is now obsolete.
Initializes a new instance of the TestResultAggregation class.
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, _
outcome As TestOutcome, _
counters As TestResultCounter, _
innerResults As TestResult(), _
currentTestIndex As Integer _
)
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")]
public TestResultAggregation(
ComputerInfo computerInfo,
Guid runId,
ITestElement test,
TestOutcome outcome,
TestResultCounter counters,
TestResult[] innerResults,
int currentTestIndex
)
[ObsoleteAttribute(L"This constructor is obsolete. Use the constructor that takes string instead.")]
public:
TestResultAggregation(
ComputerInfo^ computerInfo,
Guid runId,
ITestElement^ test,
TestOutcome outcome,
TestResultCounter^ counters,
array<TestResult^>^ innerResults,
int currentTestIndex
)
[<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")>]
new :
computerInfo:ComputerInfo *
runId:Guid *
test:ITestElement *
outcome:TestOutcome *
counters:TestResultCounter *
innerResults:TestResult[] *
currentTestIndex:int -> TestResultAggregation
public function TestResultAggregation(
computerInfo : ComputerInfo,
runId : Guid,
test : ITestElement,
outcome : TestOutcome,
counters : TestResultCounter,
innerResults : TestResult[],
currentTestIndex : int
)
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.
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.
currentTestIndex
Type: Int32An int that represents the index of the current test result in the innerResults array.
.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