Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to go to next line in c# program if program strucked at one line?

$
0
0

i am working on WPF application. In some method i am calling API of dll. That API is not returning anything for large amount of time, because of this my application is getting strucked. I need to wait for 2 seconds at that specific line and should move to next line if it gets strucked. How can I achieve this.?

Thanks.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>