Open sandboxFocus

Method Cancel

Cancel()

Cancels this specific execution of the command by signaling the CancellationToken that was passed to the execute delegate.

Declaration
public void Cancel()
Exceptions
Type Condition
InvalidOperationException

Thrown when the command does not support cancellation.