System.Web.UI.PageHandlerFactory.GetHandler Method

Returns an instance of the System.Web.IHttpHandler interface to process the requested resource.

Syntax

public virtual System.Web.IHttpHandler GetHandler (System.Web.HttpContext context, string requestType, string url, string path)

Parameters

url
Documentation for this section has not yet been entered.
context
An instance of the System.Web.HttpContext class that provides references to intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
requestType
The HTTP data transfer method (GET or POST) that the client uses.
path
The System.Web.HttpRequest.PhysicalApplicationPath property to the requested resource.

Returns

A new System.Web.IHttpHandler that processes the request; otherwise, null.

Remarks

The PageHandlerFactory.GetHandler(System.Web.HttpContext, string, string, string) method is called by the ASP.NET run time and returns either a valid instance of the System.Web.IHttpHandler interface or null.

Requirements

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