IMapHandlerProvider Interface
Provides a request-level interface for processing RQ_MAP_REQUEST_HANDLER notifications.
Syntax
class IMapHandlerProvider : public IHttpEventProvider
Methods
The following table lists the methods exposed by the IMapHandlerProvider
interface.
Name | Description |
---|---|
SetErrorStatus | (Inherited from IHttpEventProvider.) |
SetFileInfo | Specifies the IHttpFileInfo interface to use for the current request-level context. |
SetScriptMap | Specifies which IScriptMapInfo interface to use for the current context. |
SetScriptName | Specifies the script name for a request URL. |
Derived Classes
This interface contains no derived classes.
Remarks
An IMapHandlerProvider
interface is created and passed to a module's CHttpModule::OnMapRequestHandler method when the module has registered for the RQ_MAP_REQUEST_HANDLER notification in the module's exported RegisterModule function. You can use the methods provided by the IMapHandlerProvider
interface to override the way that IIS processes a request.
Inheritance Hierarchy
IMapHandlerProvider
Requirements
Type | Description |
---|---|
Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
Server | - IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - IIS Express 7.5, IIS Express 8.0, IIS Express 10.0 |
Header | Httpserv.h |