Cancel a task without an exception? RRS feed

  • Question

  • I have seen alot of sample indicating that I need to call ThrowIfCancellationRequested(). This seems like alot of overhead to throw an exception just to cancel a task. Is there a less expensive way to cancel a task?

    Thank you.

    Kevin Burton

    Friday, October 19, 2012 9:40 PM