Exemple #1
0
 static void Main(string[] args)
 {
     InstanceContext site = new InstanceContext(new CallbackHandler());
     DuplexSvcClient proxy = new DuplexSvcClient(site);
     proxy.ReturnTime(2, 5);
     Console.ReadKey();
 }
Exemple #2
0
        static void Main(string[] args)
        {
            InstanceContext site = new InstanceContext(new CallbackHandler());

            DuplexSvcClient proxy = new DuplexSvcClient(site);

            proxy.ReturnTime(2, 5);

            Console.ReadKey();
        }