System.Web.IHttpHandler.ProcessRequest Method

Enables processing of HTTP Web requests by a custom HttpHandler that implements the System.Web.IHttpHandler interface.

Syntax

public void ProcessRequest (HttpContext context)

Parameters

context
An System.Web.HttpContext object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.

Remarks

Place your custom HttpHandler code in the IHttpHandler.ProcessRequest(HttpContext) virtual method, as shown in the following example.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0