Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpContextBase.RemapHandler Method

.NET Framework 4.6 and 4.5

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

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

'Declaration
Public Overridable Sub RemapHandler ( _
	handler As IHttpHandler _
)

Parameters

handler
Type: System.Web.IHttpHandler

The object that should process the request.

ExceptionCondition
NotImplementedException

A derived type fails to implement this method.

If you set handler to Nothing, 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

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft