Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
System.Web
HttpContext Class
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
HttpContext Class

Encapsulates all HTTP-specific information about an individual HTTP request.

For a list of all members of this type, see HttpContext Members.

System.Object
   System.Web.HttpContext

[Visual Basic]
NotInheritable Public Class HttpContext
   Implements IServiceProvider
[C#]
public sealed class HttpContext : IServiceProvider
[C++]
public __gc __sealed class HttpContext : public IServiceProvider
[JScript]
public class HttpContext implements IServiceProvider

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

Classes that inherit the IHttpModule and IHttpHandler interfaces are provided a reference to an HttpContext object for the current HTTP request. The object provides access to the intrinsic Request, Response, and Server objects for the request.

Requirements

Namespace: System.Web

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

HttpContext Members | System.Web Namespace

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker