TestRun.IsValid Method
Returns a Boolean value that indicates whether the test run is valid.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Function IsValid As Boolean
public bool IsValid()
public:
virtual bool IsValid() sealed
abstract IsValid : unit -> bool
override IsValid : unit -> bool
public final function IsValid() : boolean
Return Value
Type: Boolean
true if the test run ID, test entries, test hash table, test run configuration, run result, and statistics, and test name are not null; otherwise, false.
Implements
.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.