示例#1
0
 private void AsyncTask(object state)
 {
     // Restore HttpContext
     //CallContext.SetData("HttpContext", _httpApplication.Context);
     HttpContext.Current = _httpApplication.Context;
     _gateway.ProcessRequest(_httpApplication);
     _gateway         = null;
     _httpApplication = null;
     _completed       = true;
     _callback(this);
 }