Export (0) Print
Expand All

IGlobalStopListeningProvider Interface

IIS 7.0

Provides an interface for notifications that indicate whether a worker process is shutting down and will stop listening for new requests.

class IGlobalStopListeningProvider : public IHttpEventProvider

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

Name

Description

DrainRequestsGracefully

Indicates whether IIS will gracefully close any currently pending requests.

SetErrorStatus

(Inherited from IHttpEventProvider.)

This interface contains no derived classes.

IIS creates and passes an IGlobalStopListeningProvider interface to a module's CGlobalModule::OnGlobalStopListening method when the module has registered for the GL_STOP_LISTENING notification in the module's exported RegisterModule function.

IHttpEventProvider

   IGlobalStopListeningProvider

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:
© 2015 Microsoft