I have a class Application
that my global.asax inherits from. The class has this method:
protected void Application_Start(object sender, EventArgs e)
{
// ...
}
In my understanding this is basically an event handler that is automatically added to an event (based on the method name [*]). I tried to find out what event exactly, so I put a breakpoint inside the method and checked the call stack:
Foo.DLL!Foo.Application.Application_Start(object sender = {System.Web.HttpApplicationFactory}, System.EventArgs e = {System.EventArgs})
The sender is System.Web.HttpApplicationFactory
, but I can't find that class using the Object Browser in Visual Studio 2008 or on the MSDN library website.
Where can I find more information about this class?
Thank you!
[*] Compare it to the Application_BeginRequest(object sender, EventArgs e)
method, which is added as a handler to the BeginRequest
event of the System.Web.HttpApplication
class.