HttpContext Class Home
This page is specific to:.NET Framework Version:1.12.03.03.54.0
.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
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View