Share via


TestOutcomeHelper.IsTerminal Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a value that indicates whether the test passed or failed.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Shared Function IsTerminal ( _
    outcome As TestOutcome _
) As Boolean
public static bool IsTerminal(
    TestOutcome outcome
)
public:
static bool IsTerminal(
    TestOutcome outcome
)
static member IsTerminal : 
        outcome:TestOutcome -> bool
public static function IsTerminal(
    outcome : TestOutcome
) : boolean

Parameters

Return Value

Type: Boolean
true if the outcome indicates that the test either passed or failed; otherwise, false.

.NET Framework Security

See Also

Reference

TestOutcomeHelper Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestOutcome