Options
How to hook up cancel query event
I want to do some clean up work after I hit the cancel query button. How do I call a function after this red button clicked?
Comments
If you want to clean up after query run, both cancelled and failed: Source: http://forum.linqpad.net/discussion/906/kill-a-process-on-hitting-stop-button
Or: