Export (0) Print
Expand All
Expand Minimize

Troubleshooting Exceptions: System.NotCancelableException 

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

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.

Show:
© 2014 Microsoft