다음을 통해 공유


CommandCallbackAsync Delegate

Definition

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.

Applies to