NOTE: This API is now obsolete.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
<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 _
)
'使用
Dim computerInfo As ComputerInfo
Dim runId As Guid
Dim test As ITestElement
Dim outcome As TestOutcome
Dim counters As TestResultCounter
Dim innerResults As TestResult()
Dim currentTestIndex As Integer
Dim instance As New TestResultAggregation(computerInfo, _
runId, test, outcome, counters, innerResults, _
currentTestIndex)
[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
)
public function TestResultAggregation(
computerInfo : ComputerInfo,
runId : Guid,
test : ITestElement,
outcome : TestOutcome,
counters : TestResultCounter,
innerResults : TestResult[],
currentTestIndex : int
)
Parameters
- computerInfo
Type: Microsoft.VisualStudio.TestTools.Common.ComputerInfo
- runId
Type: System.Guid
- outcome
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcome
- counters
Type: Microsoft.VisualStudio.TestTools.Common.TestResultCounter
- innerResults
Type: []
- currentTestIndex
Type: System.Int32
Permissions
- 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.