Method CancelCancel()Cancels all pending executions of the current command. Declaration void Cancel()