错误信息- Could not load type 'System.Web.HttpContext' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
复制代码- private RequestHandler reqHandler = null;
- [Post]
- public async Task UnifiedOrder()
- <font color="#ff0000"> {this.reqHandler = new RequestHandler(null);}//这里报错</font>
- public class RequestHandler
- {
- public RequestHandler(HttpContext httpContext)
- {
- parameters = new Hashtable();
- this.httpContext = httpContext;
- }
- }
复制代码 不知道需要怎么修改一下
|