InvalidTestObjectException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception that is thrown by a test item provider when a required test object is missing.
public ref class InvalidTestObjectException : Microsoft::VisualStudio::TestTools::Exceptions::EqtDataException
[System.Serializable]
public class InvalidTestObjectException : Microsoft.VisualStudio.TestTools.Exceptions.EqtDataException
[<System.Serializable>]
type InvalidTestObjectException = class
inherit EqtDataException
Public Class InvalidTestObjectException
Inherits EqtDataException
- Inheritance
- Attributes
Constructors
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. |
Properties
Message |
Gets the message that states the exception. (Inherited from EqtException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Serializes the private fields. (Inherited from EqtException) |