public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, object extraData) { var reqState = new AsyncRequestState(context, cb, extraData); _processRequest = OnProcessRequest; new Thread(new AsyncRequest(reqState).ProcessRequest).Start(_processRequest); return(reqState); }
public AsyncRequest(AsyncRequestState ars) { _asyncRequestState = ars; }