Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 outcome is a warning.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Shared Function IsWarning ( _
outcome As TestOutcome _
) As Boolean
public static bool IsWarning(
TestOutcome outcome
)
public:
static bool IsWarning(
TestOutcome outcome
)
static member IsWarning :
outcome:TestOutcome -> bool
public static function IsWarning(
outcome : TestOutcome
) : boolean
Parameters
outcome
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcomeA TestOutcome object.
Return Value
Type: Boolean
true if the outcome indicates that the test outcome is a warning; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.