Export (0) Print
Expand All

IMapHandlerProvider Interface

IIS 7.0

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.

Type

Description

Client

  • IIS 7.0 on Windows Vista

  • IIS 7.5 on Windows 7

  • IIS Express 7.5 on Windows XP, Windows Vista, Windows 7

  • IIS 8.0 on Windows 8 Client

Server

  • IIS 7.0 on Windows Server 2008

  • IIS 7.5 on Windows Server 2008 R2

  • IIS Express 7.5 on Windows Server 2003, Windows Server 2008, Windows Server 2008 R2

  • IIS 8.0 on Windows Server 2012

Product

IIS 7.0, IIS 7.5, IIS Express 7.5, IIS 8.0

Header

Httpserv.h

Community Additions

ADD
Show:
© 2014 Microsoft