DuplicateIdException Class

Definition

The exception that is thrown by a test item provider and forwarded to test management interface (UI) of Visual Studio Test Professional when a duplication of data occurs.

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

Constructors

DuplicateIdException()

Initializes a new instance of the DuplicateIdException class.

DuplicateIdException(SerializationInfo, StreamingContext)

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

DuplicateIdException(String)

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

DuplicateIdException(String, Exception)

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