Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The exception that is thrown by a test item provider when a required test object is missing.
Namespace:  Microsoft.VisualStudio.TestTools.Exceptions
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class InvalidTestObjectException _
    Inherits EqtDataException
'Usage
Dim instance As InvalidTestObjectException
[SerializableAttribute]
public class InvalidTestObjectException : EqtDataException
[SerializableAttribute]
public ref class InvalidTestObjectException : public EqtDataException
public class InvalidTestObjectException extends EqtDataException
Remarks
This exception is thrown when ITextElement.IsValid() returns false.
Inheritance Hierarchy
System.Object
  System.Exception
    Microsoft.VisualStudio.TestTools.Exceptions.EqtException
      Microsoft.VisualStudio.TestTools.Exceptions.EqtDataException
        Microsoft.VisualStudio.TestTools.Exceptions.InvalidTestObjectException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
InvalidTestObjectException Members