TestOutcomeHelper.GetAggregationOutcome Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns the test outcome that represents the lowest numeric value for the outcome of each test result in the provided array.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Shared Function GetAggregationOutcome ( _
results As TestResult() _
) As TestOutcome
public static TestOutcome GetAggregationOutcome(
TestResult[] results
)
public:
static TestOutcome GetAggregationOutcome(
array<TestResult^>^ results
)
static member GetAggregationOutcome :
results:TestResult[] -> TestOutcome
public static function GetAggregationOutcome(
results : TestResult[]
) : TestOutcome
Parameters
results
Type: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]An array of TestResult objects.
Return Value
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcome
The test outcome that represents the lowest numeric value for the outcome of each test result in the provided 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.