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 attempt to cancel the operation.
    Some operations cannot be cancelled and will throw this exception when such an attempt is made. Avoid providing the user with an option to cancel the operation in such cases.

See Also

Tasks

How to: Find Out More About an Exception with the Exception Assistant