Example #1
0
                                  public bool ProcessRequest(
//string appVirtualDir_in,
//string appPhysicalDir_in,
                                      string aspxFile_in,
                                      string parameters_in,
                                      TextWriter textwriter_in
                                      )
                                  {
                                      _aux_SimpleWorkerRequest _simpleworkerrequest =
                                          new _aux_SimpleWorkerRequest(
//appVirtualDir_in,
//appPhysicalDir_in,
                                              aspxFile_in,
                                              parameters_in,
                                              textwriter_in
                                              );

                                      HttpRuntime.ProcessRequest(
                                          _simpleworkerrequest
                                          );
                                      if (
                                          (_simpleworkerrequest.Server != null)
                                          &&
                                          (_simpleworkerrequest.Server.GetLastError() != null)
                                          )
                                      {
                                          _simpleworkerrequest.Server.ClearError();
                                          return(false);
                                      }
                                      return(true);
                                  }
Example #2
0
			public bool ProcessRequest(
//string appVirtualDir_in, 
//string appPhysicalDir_in, 
				string		aspxFile_in, 
				string		parameters_in, 
				TextWriter	textwriter_in
			) {
				_aux_SimpleWorkerRequest _simpleworkerrequest = 
					new _aux_SimpleWorkerRequest(
//appVirtualDir_in, 
//appPhysicalDir_in, 
						aspxFile_in, 
						parameters_in, 
						textwriter_in
					);
				HttpRuntime.ProcessRequest(
					_simpleworkerrequest
				);
				if (
					(_simpleworkerrequest.Server != null)
					&&
					(_simpleworkerrequest.Server.GetLastError() != null)
				) {
					_simpleworkerrequest.Server.ClearError();
					return false;
				}
				return true;
			}