首页 新闻 会员 周边

silverlight HttpWebRequest通信 超时操作的问题

0
[已关闭问题] 关闭于 2012-02-23 10:13

            IAsyncResult result = (IAsyncResult)(LRequest.BeginGetResponse(new AsyncCallback(completeHandler), LRequest));
            try
            {
                ThreadPool.RegisterWaitForSingleObject(result.AsyncWaitHandle, new WaitOrTimerCallback(TimeoutCallback), LRequest, DefaultTimeout, true);
                allDone.WaitOne();
            }

每次跑到result.AsyncWaitHandle 就报错NotSupportedException。不支持所指定的方法 求解决方案?win7 系统。难道系统不兼容》

天平歪倒的主页 天平歪倒 | 初学一级 | 园豆:200
提问于:2012-02-22 13:00
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册