日期:2014-05-20 浏览次数:21078 次
DuplexChannelFactory<IService> factory = new DuplexChannelFactory<IService>(instanceContext, binding, address);
IService service = factory.CreateChannel();
IAsyncResult iResult1 = service.BeginAddTask(sAcc, sPass, true, true, true, myCallback, service);
//iResult1.AsyncWaitHandle.WaitOne();
IAsyncResult iResult2 = service.BeginSetVerCode(pgsi.sVerCode,null,null);