IChainedCommandHandler<T>.ExecuteCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to execute the command.
If this implementation does not execute the command, nextCommandHandler
should be called
so that other ICommandHandlers may act on this command.
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)
Parameters
- args
- T
The CommandArgs arguments for the command.
- nextCommandHandler
- Action
The next command handler in the command execution chain.
- executionContext
- CommandExecutionContext
Execution context associated with this operation.