bsp; this.SaveAllState();
144
145 this.OnSaveStateComplete(EventArgs.Empty);
146 if (str != null)
147 {
148 this.ExportWebPart(str);
149 }
150 else
151 {
152 this.RenderControl(this.CreateHtmlTextWriter(this.Response.Output));
153 }
154
155 this.CheckRemainingAsyncTasks(false);
156 }
157 }
158 }
159 catch (ThreadAbortException exception)
160 {
161 HttpApplication.CancelModuleException exceptionState = exception.ExceptionState as HttpApplication.CancelModuleException;
162 if (((!includeStagesBeforeAsyncPoint || !includeStagesAfterAsyncPoint) || ((this._context.Handler != this) || (this._context.ApplicationInstance == null))) || ((exceptionState == null) || exceptionState.Timeout))
163 {
164 this.CheckRemainingAsyncTasks(true);
165 throw;
166 }
167 this._context.ApplicationInstance.CompleteRequest();
168 Thread.ResetAbort();
169 }
170 catch (Configura