| title | IGlobalThreadCleanupProvider Interface |
|---|---|
| description | Learn how the IGlobalThreadCleanupProvider interface provides an interface for thread cleanup notifications. |
| ms.date | 10/07/2016 |
| ms.assetid | 81fe1c2f-2088-0306-641b-00de09242675 |
Provides an interface for thread cleanup notifications.
class IGlobalThreadCleanupProvider : public IHttpEventProvider The following table lists the methods exposed by the IGlobalThreadCleanupProvider interface.
| Name | Description |
|---|---|
| GetApplication | Retrieves an IHttpApplication interface. |
| SetErrorStatus | (Inherited from IHttpEventProvider.) |
This interface contains no derived classes.
IIS creates and passes an IGlobalThreadCleanupProvider interface to a module's CGlobalModule::OnGlobalThreadCleanup method when the module has registered for the GL_THREAD_CLEANUP notification in the module's exported RegisterModule function.
IGlobalThreadCleanupProvider
| 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 |
Web Server Core Interfaces
CGlobalModule::OnGlobalThreadCleanup Method