Post Print Search
帖子排序:    
帖子发起人: undefine   发起时间: 2006-06-12 10:44   回复: 0
undefine 离线,最后访问时间: 2006-6-12 10:44:48 undefine

发帖数前150位

注册: 2006-05-23
发贴: 2
有人吗?斑竹能否帮忙回答个问题。
楼主  2006-06-12, 10:44 Reply Quote

            ObjState obs = (ObjState)ar.AsyncState;
            WebRequest wr = obs.HWR;
            WebResponse hwresp = (WebResponse)wr.EndGetResponse(ar);//此处报错说:无法得到资源程序集

下面是objstate类,我实在看不出有什么错。

    public class ObjState
    {
        //此类为异步回调中对象状态类
        public WebRequest HWR;
        public long WebFileSize;

        public ObjState()
        {
            HWR = null;
        }
    }

IP 地址: 已记录   报告
Mobile应用开发 » 移动设备硬件讨论 » Smartphone » 有人吗?斑竹能否帮忙回答个问题。