ExecuteAsync(CommandContext, TSettings, CancellationToken) Method

Executes the command.
public abstract Task<int> ExecuteAsync(CommandContext context, TSettings settings, CancellationToken cancellationToken)
Containing Type
AsyncCommand<TSettings>

Parameters

CommandContext context
The command context.
TSettings settings
The settings.
CancellationToken cancellationToken
A System.Threading.CancellationToken that can be used to abort the command.

Returns

Task<int>