Export (0) Print
Expand All
1 out of 9 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.