Share via


TestOutcomeHelper.IsWarning(TestOutcome) Method

Definition

Returns a value that indicates whether the outcome is a warning.

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

Parameters

outcome
TestOutcome

A TestOutcome object.

Returns

true if the outcome indicates that the test outcome is a warning; otherwise, false.

Applies to