Share via


TestStateEvent.IsValid Method

Returns a value that indicates whether the event has a valid RunId and a valid setting for NewState setting.

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

Syntax

'Declaration
Public Overrides Function IsValid As Boolean
public override bool IsValid()
public:
virtual bool IsValid() override
abstract IsValid : unit -> bool  
override IsValid : unit -> bool
public override function IsValid() : boolean

Return Value

Type: Boolean
true if the event is valid; otherwise, false.

Implements

IVerifiable.IsValid()

.NET Framework Security

See Also

Reference

TestStateEvent Class

Microsoft.VisualStudio.TestTools.Common Namespace

RunId

NewState