Share via


Troubleshooting Exceptions: System.NotCancelableException

A NotCancelableException is thrown when an attempt is made to cancel an operation that is not cancelable.

Associated Tips

  • Do not try to cancel the operation.
    Some operations cannot be canceled and will throw this exception when such an attempt is made. Avoid giving the user an option to cancel the operation in these cases.

See Also

Tasks

How to: Use the Exception Assistant