IChainedCommandHandler<T>.ExecuteCommand(T, Action, CommandExecutionContext) Méthode

Définition

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

S’applique à