Share via


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

IVerifiable.IsValid()

.NET Framework Security

See Also

Reference

TestRun Class

Microsoft.VisualStudio.TestTools.Common Namespace