Share via


CommandException Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the CommandException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

CommandException()

Initializes a new instance of the CommandException class.

Public method

CommandException(String)

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

Protected method

CommandException(SerializationInfo, StreamingContext)

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

Public method

CommandException(String, Exception)

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

Top

See Also

Reference

CommandException Class

CommandException Members

Microsoft.VisualStudio.TestTools.Exceptions Namespace