Represents the method that will handle an EndRequest post-event, which occurs after the last event in the HTTP integrated request-processing pipeline for the current request.
When a request-level module is registered for the RQ_END_REQUEST post-event notification, IIS will call the module's OnPostEndRequest method after a request has finished processing all of the other events.
Request-level modules can register for the EndRequest post-event notification by registering for RQ_END_REQUEST in the module's RegisterModule function.
The following code example demonstrates how to create a request-level HTTP module that registers for the RQ_END_REQUEST event and post-event notifications. When a request has finished processing all of the other events, IIS will call the example module's OnEndRequest and OnPostEndRequest methods. Each method will write an entry in the application log of the Windows Event Viewer. When processing is complete, the module will exit.