Share via


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

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

See Also

Reference

TestOutcomeHelper Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestOutcome

TestResult