Sleep in an application
C#
6
Posts
4
Posters
0
Views
1
Watching
-
hello, can i some how sleep a process in an application?: my problem is i want to execute a sql string. if it failed i want wait some (milli)seconds before i repeat the execution thank you
-
hello, can i some how sleep a process in an application?: my problem is i want to execute a sql string. if it failed i want wait some (milli)seconds before i repeat the execution thank you
-
Call
Thread.Sleep(1000);
to sleep for one second. Yet, if you do this in your main Thread, this will cause your UI to freeze.
Regards:rose: