Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Microsoft.VisualStudio.TestTools.Exceptions Namespace

 

The Microsoft.VisualStudio.TestTools.Exceptions namespace provides classes that define all Enterprise Quality Tools exceptions.

ClassDescription
System_CAPS_pubclassAccessDeniedException

The exception that is thrown when permissions are not set for access.

System_CAPS_pubclassCommandException

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.

System_CAPS_pubclassCorruptedResultException

Represents the exception that is thrown by a test item provider when the process encounters a corrupted test result.

System_CAPS_pubclassDuplicateIdException

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.

System_CAPS_pubclassEqtDataException

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.

System_CAPS_pubclassEqtException

Provides a base class for all Enterprise Quality Tools exceptions.

System_CAPS_pubclassErrorReadingStorageException

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.

System_CAPS_pubclassFailedToInstantiateTypeException

The exception that is thrown when the type does not instantiate. This is used by the XmlReader.

System_CAPS_pubclassIdNotFoundException

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

System_CAPS_pubclassInternalException

Defines exceptions that are thrown by a test item provider and that are wrapped in this exception.

System_CAPS_pubclassInvalidDataInStorageException

The exception that is thrown by a test item provider when an unexpected format or a wrong test type occurs.

System_CAPS_pubclassInvalidTestObjectException

The exception that is thrown by a test item provider when a required test object is missing.

System_CAPS_pubclassSaveNotSupportedException

The exception that is thrown by team item providers that do not support save operations.

System_CAPS_pubclassSingleInstanceApplicationException

System_CAPS_pubclassStorageNotAccessibleException

The exception that is thrown when data storage is not available.

System_CAPS_pubclassWrongResultTypeException

The exception that is thrown when the data that is sent for merging is of the wrong type.

Return to top
Show: