Click here to Skip to main content
15,891,726 members
Articles / Programming Languages / C#

Timeout for Functions

Rate me:
Please Sign up or sign in to vote.
4.76/5 (11 votes)
18 Mar 2020CPOL2 min read 30.9K   351   5  
A short utility class implementing a timeout for functions
In this tip, you will see a couple of examples for how to add time out for functions that may just hang.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions