예제 #1
0
        static void Main(string[] args)
        {
            TestSvcClient proxy = new TestSvcClient();

            for (int i = 0; i < 4; i++)
            {
                Console.WriteLine("{0}: 开始调用服务方法", DateTime.Now.Ticks);
                proxy.BeginGetData(GetFruitNameCallBack, proxy);
            }

            Console.ReadLine();
        }