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
.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.