Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Shared Function IsPass ( _
outcome As TestOutcome _
) As Boolean
public static bool IsPass(
TestOutcome outcome
)
public:
static bool IsPass(
TestOutcome outcome
)
static member IsPass :
outcome:TestOutcome -> bool
public static function IsPass(
outcome : TestOutcome
) : boolean
Parameters
- outcome
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcome
A TestOutcome object.
Return Value
Type: System.Boolean
true if the outcome indicates that the test passed; 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.