CommandException Class

Definition

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 ref class CommandException : Microsoft::VisualStudio::TestTools::Exceptions::EqtException
[System.Serializable]
public class CommandException : Microsoft.VisualStudio.TestTools.Exceptions.EqtException
[<System.Serializable>]
type CommandException = class
    inherit EqtException
Public Class CommandException
Inherits EqtException
Inheritance
CommandException
Attributes

Constructors

CommandException()

Initializes a new instance of the CommandException class.

CommandException(SerializationInfo, StreamingContext)

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

CommandException(String)

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

CommandException(String, Exception)

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