I have a long running method and I want to add timeout into it. Is it feasible to do that? Something like:
AbortWaitSeconds(20) { this.LongRunningMethod(); }
See my answer to this question for a generic solution.