IdNotFoundException Class

Definition

Represents the exception that is thrown by a method when a provided ID fails to return the specified test element.

public ref class IdNotFoundException : Microsoft::VisualStudio::TestTools::Exceptions::EqtDataException
[System.Serializable]
public class IdNotFoundException : Microsoft.VisualStudio.TestTools.Exceptions.EqtDataException
[<System.Serializable>]
type IdNotFoundException = class
    inherit EqtDataException
Public Class IdNotFoundException
Inherits EqtDataException
Inheritance
Attributes

Constructors

IdNotFoundException()

Initializes a new instance of the IdNotFoundException class.

IdNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the IdNotFoundException class by using the provided information and context.

IdNotFoundException(String)

Initializes a new instance of the IdNotFoundException class by using the provided message.

IdNotFoundException(String, Exception)

Initializes a new instance of the IdNotFoundException 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