//
 // This is the managed entry point for processing request notifications.
 // Although this method is wrapped in try/catch, it is not supposed to
 // cause an exception. If it does throw, the application, httpwriter, etc
 // may not be initialized, and it might not be possible to process the rest
 // of the request. I would prefer to let this method throw and crash the
 // process, but for now we will consume the exception, report the error to
 // IIS, and continue.
 //
 // Code that might throw belongs in HttpRuntime::ProcessRequestNotificationPrivate.
 //
 internal static int ProcessRequestNotification(
     IntPtr rootedObjectsPointer,
     IntPtr nativeRequestContext,
     IntPtr moduleData,
     int flags)
 {
     try {
         return(ProcessRequestNotificationHelper(rootedObjectsPointer, nativeRequestContext, moduleData, flags));
     }
     catch (Exception e) {
         ApplicationManager.RecordFatalException(e);
         throw;
     }
 }
        internal static int ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, int flags)
        {
            int num;

            try
            {
                num = ProcessRequestNotificationHelper(managedHttpContext, nativeRequestContext, moduleData, flags);
            }
            catch (Exception exception)
            {
                ApplicationManager.RecordFatalException(exception);
                throw;
            }
            return(num);
        }