コード例 #1
0
        /// <summary>
        /// ImageThreadProc
        /// </summary>
        public static void ImageThreadProc()
        {
            TimeSpan timeOutInt = TimeSpan.FromMinutes((double)Convert.ToInt32(ConfigurationManager.AppSettings["ImageRetrivalInterval"]));

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