RunResultAndStatistics.HasPassed Property
Gets a value that indicates whether all tests in the associated test run have successfully passed.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public ReadOnly Property HasPassed As Boolean
public bool HasPassed { get; }
public:
property bool HasPassed {
bool get ();
}
member HasPassed : bool with get
function get HasPassed () : boolean
Property Value
Type: Boolean
true if all tests in the associated test run have successfully 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.