Share via


DynamicCommand.ExecuteCommandAsync(IClientContext, CancellationToken) Method

Definition

Raised when command is executed on the client.

public override System.Threading.Tasks.Task ExecuteCommandAsync (Microsoft.VisualStudio.Extensibility.IClientContext context, System.Threading.CancellationToken cancellationToken);
override this.ExecuteCommandAsync : Microsoft.VisualStudio.Extensibility.IClientContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ExecuteCommandAsync (context As IClientContext, cancellationToken As CancellationToken) As Task

Parameters

context
IClientContext

Client context at the time of command execution.

cancellationToken
CancellationToken

Cancellation token to monitor.

Returns

a Task indication completion.

Applies to