相关文章  
  • 基于IIS总线的嵌入式音频系统设计
  • IIS6.0服务器架站无法访问解决方案总结
  • 装IIS 6.0后所有站都出现500错误
  • 服务器端异步 Web 方法(二)
  • WEB 系统中加密\解密URL传输参数
  • 使用Windows XP 及IIS 5.1配置Web服务器
  • 让Web站点适应Windows XP Service Pack 2
  • 完美实现个人建站梦想 全面了解IIS组建方法
  • 使用Delphi创建IIS虚拟目录的方法
  • 创建Web部件显示Portal Server的搜索数据
  •   推荐  
      科普之友首页   专利     科普      动物      植物        天文   考古   前沿科技
     您现在的位置在:  首页 >>文献 >>培训

    服务器端异步 Web 方法(三)3

    b 服务调用。
      
          localhost.UserInfoQuery proxy
      
            = new localhost.UserInfoQuery();
      
          return proxy.BeginGetUserInfo("用户名",
      
                         cb,
      
                         proxy);
      
        }
      
      
      
        [WebMethod]
      
        public int EndGetAge(IAsyncResult res)
      
        {
      
          localhost.UserInfoQuery proxy
      
            = (localhost.UserInfoQuery)res.AsyncState;
      
          int age = proxy.EndGetUserInfo(res).age;
      
          // 在此对 Web 服务的结果进行其他
      
          // 处理。
      
          return age;

    页码:[1] [2] [3] [4] [5] [6]3页、共6页

         

          设为首页       |       加入收藏       |       广告服务       |       友情链接       |       版权申明      

    Copyriht 2007 - 2008 ©  科普之友 All right reserved