TestOutcomeHelper.IsWarning(TestOutcome) Methode

Definition

Gibt einen Wert zurück, der angibt, ob das Ergebnis eine Warnung ist.

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

Parameter

outcome
TestOutcome

Ein TestOutcome-Objekt.

Gibt zurück

Boolean

true, wenn das Ergebnis angibt, dass das Testergebnis eine Warnung ist. andernfalls false.

Gilt für