While working on a WPF application, I had a need to show the wait cursor while performing a long running operation. However, I didn't want the long running process tying up the UI thread. I needed to run the long running operation on its own thread. I decided to use the Task Parallel Library (TPL) to help.