The Timer_Sleep() function causes the application to wait for the specified period of time.
Timer_Sleep(duration)
• duration – A long integer specifying the number of milliseconds to have the application wait. This is the minimum amount of time the application will wait. Depending on the other processes running on the system, the actual waiting time may be somewhat longer.
A long integer containing the number of milliseconds the application was told to wait.
The Timer_Sleep() function is used to add delays to an application, such as when deadlock exceptions are being handled for transactions.