コード例 #1
0
ファイル: AsyncHandler.cs プロジェクト: GodLesZ/svn-dump
		public AsyncHandler(AsyncCallback callback, FluorineGateway gateway, HttpApplication httpApplication, Object state) {
			_gateway = gateway;
			_callback = callback;
			_httpApplication = httpApplication;
			_state = state;
			_completed = false;
		}
コード例 #2
0
 public AsyncHandler(AsyncCallback callback, FluorineGateway gateway, HttpApplication httpApplication, Object state)
 {
     _gateway         = gateway;
     _callback        = callback;
     _httpApplication = httpApplication;
     _state           = state;
     _completed       = false;
 }
コード例 #3
0
ファイル: AsyncHandler.cs プロジェクト: GodLesZ/svn-dump
		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);
		}
コード例 #4
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);
 }