private void ProcessDigitalPage() { Thread.Sleep(5000); while (true) { target.ProcessDigitalPager(); } }
private void ProcessDigitalPage() { Thread.Sleep(5000); while (true) { _target.ProcessDigitalPager(); //added on 02/17/2012 Pradeep I //to execute current conditional loop every 5 seconds instead of running continuously Thread.Sleep(5000); } }