IChainedCommandHandler<T>.ExecuteCommand(T, Action, CommandExecutionContext) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelé pour exécuter la commande.
Si cette implémentation n’exécute pas la commande, nextCommandHandler doit être appelé afin que ICommandHandler d’autres puissent agir sur cette commande.
public:
void ExecuteCommand(T args, Action ^ nextCommandHandler, Microsoft::VisualStudio::Commanding::CommandExecutionContext ^ executionContext);
public void ExecuteCommand (T args, Action nextCommandHandler, Microsoft.VisualStudio.Commanding.CommandExecutionContext executionContext);
abstract member ExecuteCommand : 'T * Action * Microsoft.VisualStudio.Commanding.CommandExecutionContext -> unit
Public Sub ExecuteCommand (args As T, nextCommandHandler As Action, executionContext As CommandExecutionContext)
Paramètres
- args
- T
CommandArgsArguments de la commande.
- nextCommandHandler
- Action
Gestionnaire de commandes suivant dans la chaîne d’exécution de la commande.
- executionContext
- CommandExecutionContext