public interface IAsyncCancelableCommand : IAsyncCommand,
ICommandPublic Interface IAsyncCancelableCommand
Inherits IAsyncCommand, ICommand
Dim instance As IAsyncCancelableCommandpublic interface class IAsyncCancelableCommand : IAsyncCommand,
ICommandThis interface adds a CancellationToken property to the IAsyncCommand interface. The CommandManagerRunCommandAsync(CancellationToken) method and its overloads will set this property prior to calling the IAsyncCommandRunAsync method.
Use the AsyncCommandBase class as a base class for your command to get a default implementation of the ICommandRun method and the CancellationToken property.
| CancellationToken | Gets or sets the cancellation token that can be used by the IAsyncCommandRunAsync method. |
| Run |
Runs the command.
(Inherited from ICommand) |
| RunAsync |
Runs the command asynchronously.
(Inherited from IAsyncCommand) |