DynamicCommand.ExecuteCommandAsync(IClientContext, CancellationToken) 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.
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.