Called to determine the status or execute a command added through Commands.AddNamedCommand. Implemented by the Add-in writer. ...