CommandCallbackAsync Delegate
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.
Async command execution callback.
public delegate System.Threading.Tasks.Task CommandCallbackAsync(ExecutableCommandHandler command, IClientContext context, CancellationToken cancellationToken);
type CommandCallbackAsync = delegate of ExecutableCommandHandler * IClientContext * CancellationToken -> Task
Public Delegate Function CommandCallbackAsync(command As ExecutableCommandHandler, context As IClientContext, cancellationToken As CancellationToken) As Task
Parameters
- command
- ExecutableCommandHandler
Command instance being executed.
- context
- IClientContext
Client context that command was executed under.
- cancellationToken
- CancellationToken
Cancellation token to monitor.
Return Value
a Task indicating completion of the task.