Export (0) Print
Expand All

HttpContext.Current Property

Gets the HttpContext object for the current HTTP request.

[Visual Basic]
Public Shared Property Current As HttpContext
[C#]
public static HttpContext Current {get; set;}
[C++]
public: __property static HttpContext* get_Current();
public: __property static void set_Current(HttpContext*);
[JScript]
public static function get Current() : HttpContext;
public static function set Current(HttpContext);

Property Value

The HttpContext object for the current request.

Requirements

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

See Also

HttpContext Class | HttpContext Members | System.Web Namespace

Show:
© 2014 Microsoft