Represents the method that will handle a GlobalPreBeginRequest event, which occurs before a request enters the pipeline.
When a global module has registered for the GL_PRE_BEGIN_REQUEST event notification, IIS will call the module's OnGlobalPreBeginRequest method before a request enters the request pipeline.
Global modules can register for the GlobalPreBeginRequest event notification by registering for GL_PRE_BEGIN_REQUEST in the module's RegisterModule function.
The following code example demonstrates how to create a global-level HTTP module that registers for the GL_PRE_BEGIN_REQUEST notification. When a new request arrives, IIS will call the example module's OnGlobalPreBeginRequest method before the request enters the request pipeline. This method will write an entry in the application log of the Windows Event Viewer and then exit.