Represents an exception that is thrown when an error occurs when executing a command.
public class CommandException : Exception, ISerializable
kind:method, kind:property, kind:ctor. Press Esc to clear.CommandException(String, Exception)Creates a new instance of CommandException.CommandException(String)Creates a new instance of CommandException.DiagnosticGets optional structured diagnostic information associated with this exception.