| title | IMapHandlerProvider Interface |
|---|---|
| description | Describes the IMapHandlerProvider interface and details its syntax, methods, derived classes, remarks, inheritance hierarchy, and requirements. |
| ms.date | 10/07/2016 |
| ms.assetid | 751560c1-2a88-7175-c78d-615c42f86feb |
Provides a request-level interface for processing RQ_MAP_REQUEST_HANDLER notifications.
class IMapHandlerProvider : public IHttpEventProvider 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. |
This interface contains no derived classes.
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.
IMapHandlerProvider
| Type | Description |
|---|---|
| Client | - IIS 7.0 on [!INCLUDEwinvista] - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on [!INCLUDEwinsrv2008] - 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 - [!INCLUDEiisexp75], [!INCLUDEiisexp80], [!INCLUDEiisexp100] |
| Header | Httpserv.h |