funzione PFN_WEBHOST_LISTENER_APPLICATION_POOL_ALL_LISTENER_CHANNEL_INSTANCES_STOPPED
Notifica all'adattatore listener che tutte le istanze di un canale di listener specifico sono state arrestate.
Sintassi
typedef VOID(
* PFN_WEBHOST_LISTENER_APPLICATION_POOL_ALL_LISTENER_CHANNEL_INSTANCES_STOPPED)(
IN VOID* pContext,
IN LPCWSTR AppPoolId,
IN DWORD ListenerChannelId
);
Parametri
pContext
[IN] Puntatore a un VOID
contesto passato dall'adapter listener a WebhostRegisterProtocol.
AppPoolId
[IN] Puntatore a una stringa contenente il pool di applicazioni per i canali listener arrestati.
ListenerChannelId
[IN] Oggetto DWORD
che contiene l'ID del canale del listener per il canale listener che non ha più istanze.
Valore restituito
VOID
.
Commenti
Quando Service Control Manager (SCM) notifica a un adattatore listener di arrestare, l'adattatore listener deve attendere la PFN_WEBHOST_LISTENER_APPLICATION_POOL_ALL_LISTENER_CHANNEL_INSTANCES_STOPPED
notifica prima dell'arresto; in caso contrario, se altri canali listener sono in uso, l'adattatore listener potrebbe riscontrare conflitti quando tenta di riavviare.
Questa notifica si verificherà solo se è stata chiamata la funzione WebhostCloseAllListenerChannelInstances .
Windows Process Activation Service (WAS) chiama questa funzione in modo asincrono e non attende il completamento della notifica.
Requisiti
Tipo | Descrizione |
---|---|
Client | - IIS 7.0 in Windows Vista - IIS 7.5 in Windows 7 - IIS 8.0 in Windows 8 - IIS 10.0 in Windows 10 |
Server | - IIS 7.0 in Windows Server 2008 - IIS 7.5 in Windows Server 2008 R2 - IIS 8.0 in Windows Server 2012 - IIS 8.5 in Windows Server 2012 R2 - IIS 10.0 in Windows Server 2016 |
Prodotto | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - IIS Express 7,5, IIS Express 8.0, IIS Express 10.0 |
Intestazione | Listeneradapter.h |
Vedere anche
Funzioni di callback dell'adattatore listener
Funzione WebhostRegisterProtocol