Export (0) Print
Expand All

IHttpModuleFactory Interface

IIS 7.0

Manages the creation of a CHttpModule class.

class IHttpModuleFactory

The following table lists the methods exposed by the IHttpModuleFactory interface.

Name

Description

GetHttpModule

Creates an instance of a CHttpModule class.

Terminate

Terminates an IHttpModuleFactory interface.

When you create an HTTP module, you must provide an implementation of an IHttpModuleFactory interface. Your exported RegisterModule function will use this module factory to create an instance of your CHttpModule class and to remove your IHttpModuleFactory interface from memory.

Your interface must provide two methods, GetHttpModule and Terminate. Your module will use these two methods, respectively, to create your CHttpModule class instance and to unload itself from memory.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft