Partager via


RunInfo.IsPass Property

Gets a value that indicates whether the test run ended with an acceptable outcome.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public ReadOnly Property IsPass As Boolean
public bool IsPass { get; }
public:
property bool IsPass {
    bool get ();
}
member IsPass : bool with get
function get IsPass () : boolean

Property Value

Type: Boolean
true if the Outcome property is Passed, Completed, or Warning; otherwise, false.

.NET Framework Security

See Also

Reference

RunInfo Class

Microsoft.VisualStudio.TestTools.Common Namespace

Outcome

TestOutcome