InvalidTestObjectException Class
The exception that is thrown by a test item provider when a required test object is missing.
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
System::Exception
Microsoft.VisualStudio.TestTools.Exceptions::EqtException
Microsoft.VisualStudio.TestTools.Exceptions::EqtDataException
Microsoft.VisualStudio.TestTools.Exceptions::InvalidTestObjectException
| Name | Description | |
|---|---|---|
![]() | InvalidTestObjectException() | Initializes a new instance of the InvalidTestObjectException class. |
![]() | InvalidTestObjectException(Object^) | Initializes a new instance of the InvalidTestObjectException class by using the provided test object. |
![]() | InvalidTestObjectException(SerializationInfo^, StreamingContext) | Initializes a new instance of the InvalidTestObjectException class by using the provided information and context. |
![]() | InvalidTestObjectException(String^) | Initializes a new instance of the InvalidTestObjectException class by using the provided message. |
![]() | InvalidTestObjectException(String^, Exception^) | Initializes a new instance of the InvalidTestObjectException class by using the provided message and inner exception. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Message | Gets the message that states the exception.(Inherited from EqtException.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Serializes the private fields.(Inherited from EqtException.) |
![]() | GetType() | (Inherited from Exception.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | SerializeObjectState | (Inherited from Exception.) |
This exception is thrown when ITextElement.IsValid() returns false.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



