Beispiel #1
0
        /// <summary>
        /// ThreadProc
        /// </summary>
        public static void ThreadProc()
        {
            TimeSpan timeOutInt = TimeSpan.FromMinutes((double)Convert.ToInt32(ConfigurationManager.AppSettings["Interval"]));

            while (true)
            {
                WebServices.CallWebService();
                Thread.Sleep(timeOutInt);
            }
        }