Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

execution time of a method

$
0
0

How to track execution time for a method? Consider below method.

GetData();//It can be a service call or database call etc...

If GetData method takes more than 10 seconds, how to know as soon as TENTH SECOND IS COMPLETED.

Thank You




Viewing all articles
Browse latest Browse all 31927

Trending Articles



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