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
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