The Microsoft.VisualStudio.TestTools.Exceptions namespace provides classes that define all Enterprise Quality Tools exceptions.
Classes
| Class | Description | |
|---|---|---|
| .gif) | AccessDeniedException | The exception that is thrown when permissions are not set for access. | 
| .gif) | CommandException | Represents the exception that is thrown by a test item provider and forwarded to test management interface (UI) of Visual Studio Test Professional, when a command is executed in the UI. | 
| .gif) | CorruptedResultException | Represents the exception that is thrown by a test item provider when the process encounters a corrupted test result. | 
| .gif) | DuplicateIdException | 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. | 
| .gif) | EqtDataException | Represents the exception that is thrown by a test item provider in the test management interface (UI) of Visual Studio Test Professional when a parameter provided to a method is invalid or otherwise used unsuccessfully. | 
| .gif) | EqtException | Provides a base class for all Enterprise Quality Tools exceptions. | 
| .gif) | ErrorReadingStorageException | The exception that is thrown by a test item provider and forwarded to test management interface (UI) of Visual Studio Test Professional when an IO error occurs. | 
| .gif) | FailedToInstantiateTypeException | The exception that is thrown when the type does not instantiate. This is used by the XmlReader. | 
| .gif) | IdNotFoundException | Represents the exception that is thrown by a method when a provided ID fails to return the specified test element. | 
| .gif) | InternalException | Defines exceptions that are thrown by a test item provider and that are wrapped in this exception. | 
| .gif) | InvalidDataInStorageException | The exception that is thrown by a test item provider when an unexpected format or a wrong test type occurs. | 
| .gif) | InvalidTestObjectException | The exception that is thrown by a test item provider when a required test object is missing. | 
| .gif) | SaveNotSupportedException | The exception that is thrown by team item providers that do not support save operations. | 
| .gif) | SingleInstanceApplicationException | |
| .gif) | StorageNotAccessibleException | The exception that is thrown when data storage is not available. | 
| .gif) | WrongResultTypeException | The exception that is thrown when the data that is sent for merging is of the wrong type. |