Поделиться через


Microsoft.VisualStudio.TestTools.Exceptions Namespace

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

Classes

  Class Description
Public class AccessDeniedException The exception that is thrown when permissions are not set for access.
Public class 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.
Public class CorruptedResultException Represents the exception that is thrown by a test item provider when the process encounters a corrupted test result.
Public class 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.
Public class 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.
Public class EqtException Provides a base class for all Enterprise Quality Tools exceptions.
Public class 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.
Public class FailedToInstantiateTypeException The exception that is thrown when the type does not instantiate. This is used by the XmlReader.
Public class IdNotFoundException Represents the exception that is thrown by a method when a provided ID fails to return the specified test element.
Public class InternalException Defines exceptions that are thrown by a test item provider and that are wrapped in this exception.
Public class InvalidDataInStorageException The exception that is thrown by a test item provider when an unexpected format or a wrong test type occurs.
Public class InvalidTestObjectException The exception that is thrown by a test item provider when a required test object is missing.
Public class SaveNotSupportedException The exception that is thrown by team item providers that do not support save operations.
Public class StorageNotAccessibleException The exception that is thrown when data storage is not available.
Public class WrongResultTypeException The exception that is thrown when the data that is sent for merging is of the wrong type.