Пример #1
0
        static bool localqueue_OnProcessQueue(Ljc.Com.NewsService.Entity.NewsEntity arg)
        {
            int newcount = System.Threading.Interlocked.Increment(ref count);

            if (newcount == 3000)
            {
                Console.WriteLine("条数:" + arg.Title);
            }


            return(true);
        }
Пример #2
0
 static void localqueue_OnProcessError(Ljc.Com.NewsService.Entity.NewsEntity arg1, Exception arg2)
 {
     //Console.WriteLine(arg2.ToString());
 }