System.Web.HttpApplication.LogRequest Event

Occurs just before ASP.NET performs any logging for the current request.

Syntax

public event EventHandler LogRequest

Remarks

The HttpApplication.LogRequest event is raised even if an error occurs. You can provide an event handler for the HttpApplication.LogRequest event to provide custom logging for the request.

For more information about how to handle events, see Consuming Events.

HttpApplication.LogRequest is introduced in the .NET Framework version 3.5. For more information, see The .NET Framework 3.5 Architecture.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0