HttpContextBase.RemapHandler Method (IHttpHandler)

.NET Framework (current version)

When overridden in a derived class, specifies a handler for the request.

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

Public Overridable Sub RemapHandler (
	handler As IHttpHandler


Type: System.Web.IHttpHandler

The object that should process the request.

Exception Condition

A derived type fails to implement this method.

If you set handler to null, the default handler is used to process the request. You can set handler to either an asynchronous handler or to an synchronous handler. The handler must implement the IHttpHandler interface.

.NET Framework
Available since 4.0
Return to top