The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IHttpHandler::ProcessRequest Method (HttpContext^)
.NET Framework (current version)
Enables processing of HTTP Web requests by a custom HttpHandler that implements the IHttpHandler interface.
Assembly: System.Web (in System.Web.dll)
Parameters
- context
-
Type:
System.Web::HttpContext^
An HttpContext object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
Place your custom HttpHandler code in the ProcessRequest virtual method, as shown in the following example.
The following code example writes four lines of text to the HTTP output stream in response to a client request for a page named handler.aspx. All requests for handler.aspx are serviced by the MyHttpHandler class in the namespace HandlerExample contained in the assembly HandlerTest.dll.
.NET Framework
Available since 1.1
Available since 1.1
Show: