CommandException Constructor (String)

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

Namespace:  Microsoft.VisualStudio.TestTools.Exceptions
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    msg As String _
)
public CommandException(
    string msg
)
public:
CommandException(
    String^ msg
)
new : 
        msg:string -> CommandException
public function CommandException(
    msg : String
)

Parameters

.NET Framework Security

See Also

Reference

CommandException Class

CommandException Overload

Microsoft.VisualStudio.TestTools.Exceptions Namespace