c# - I want to use a time out in my mini program -


i have mini program read excel file. well, sometimes, program doesn't work , keep remaining nothing. so, want catch this, , if program delay more 5 minutes, want stop process.

so, how can ?

i try this, doesn't work

 atimer = new system.timers.timer(2000);  atimer.enabled = true;  atimer.start();    read_file(f, sdir, pathout, pathlogout); 


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -