InvalidTestObjectException Class

Definition

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
InvalidTestObjectException
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)

Applies to