IHttpHandlerFactory Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Defines the contract that class factories must implement to create new IHttpHandler objects.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public interface IHttpHandlerFactory

System_CAPS_pubmethodGetHandler(HttpContext, String, String, String)

Returns an instance of a class that implements the IHttpHandler interface.


Enables a factory to reuse an existing handler instance.

A class that implements the IHttpHandlerFactory interface has no behavior except to dynamically manufacture new instances of classes that implement the IHttpHandler interface.

.NET Framework
Available since 1.1
Return to top