Gets the HttpContext object associated with the page.
Assembly: System.Web (in System.Web.dll)
This property provides programmatic access to the context the page runs in, including information about the request, response, session, and application.
The following code example uses the HttpContext.AddError and HttpContext.ClearError methods and the HttpContext.AllErrors property. The example creates three custom exceptions using the AddError method and uses the AllErrors property to load these exceptions to an array. It then writes the array to the containing page and uses the ClearError method to clear all the errors from the property.property to access the
Available since 1.1