TestOutcomeHelper.IsFail(TestOutcome) Method

Definition

Returns a value that indicates whether the test failed.

public:
 static bool IsFail(Microsoft::VisualStudio::TestTools::Common::TestOutcome outcome);
public static bool IsFail (Microsoft.VisualStudio.TestTools.Common.TestOutcome outcome);
static member IsFail : Microsoft.VisualStudio.TestTools.Common.TestOutcome -> bool
Public Shared Function IsFail (outcome As TestOutcome) As Boolean

Parameters

outcome
TestOutcome

A TestOutcome object.

Returns

true if the outcome indicates that the test failed; otherwise, false.

Applies to