Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public AsyncRequest(AsyncRequestState ars)
 {
     _asyncRequestState = ars;
 }