Compartilhar via


Estrutura WEBHOST_LISTENER_CALLBACKS

Define um ponteiro para a estrutura de retorno de chamada que é passada para a função WebhostRegisterProtocol .

Sintaxe

struct WEBHOST_LISTENER_CALLBACKS{  
   DWORD dwBytesInCallbackStructure;  
   PFN_WEBHOST_LISTENER_CONFIG_MANAGER_CONNECTED pfnWebhostListenerConfigManagerConnected;  
   PFN_WEBHOST_LISTENER_CONFIG_MANAGER_DISCONNECT pfnWebhostListenerConfigManagerDisconnected;  
   PFN_WEBHOST_LISTENER_CONFIG_MANAGER_INITIALIZATION_COMPLETED pfnWebhostListenerConfigManagerInitializationCompleted;  
   PFN_WEBHOST_LISTENER_APPLICATION_POOL_CREATED pfnWebhostListenerApplicationPoolCreated;  
   PFN_WEBHOST_LISTENER_APPLICATION_POOL_DELETED pfnWebhostListenerApplicationPoolDeleted;  
   PFN_WEBHOST_LISTENER_APPLICATION_POOL_IDENTITY_CHANGED pfnWebhostListenerApplicationPoolIdentityChanged;  
   PFN_WEBHOST_LISTENER_APPLICATION_POOL_STATE_CHANGED pfnWebhostListenerApplicationPoolStateChanged;  
   PFN_WEBHOST_LISTENER_APPLICATION_POOL_CAN_OPEN_NEW_LISTENER_CHANNEL_INSTANCE pfnWebhostListenerApplicationPoolCanOpenNewListenerChannelInstance;  
   PFN_WEBHOST_LISTENER_APPLICATION_POOL_ALL_LISTENER_CHANNEL_INSTANCES_STOPPED pfnWebhostListenerApplicationPoolAllListenerChannelInstancesStopped;  
   PFN_WEBHOST_LISTENER_APPLICATION_CREATED pfnWebhostListenerApplicationCreated;  
   PFN_WEBHOST_LISTENER_APPLICATION_DELETED pfnWebhostListenerApplicationDeleted;  
   PFN_WEBHOST_LISTENER_APPLICATION_BINDINGS_CHANGED pfnWebhostListenerApplicationBindingsChanged;  
   PFN_WEBHOST_LISTENER_APPLICATION_APP_POOL_CHANGED pfnWebhostListenerApplicationAppPoolChanged;  
   PFN_WEBHOST_LISTENER_APPLICATION_REQUESTS_BLOCKED_CHANGED pfnWebhostListenerApplicationRequestsBlockedChanged;  
};  

Membros

Nome do membro Descrição
dwBytesInCallbackStructure Um DWORD que contém o número de bytes na estrutura.
pfnWebhostListenerConfigManagerConnected Um ponteiro para uma função PFN_WEBHOST_LISTENER_CONFIG_MANAGER_CONNECTED .
pfnWebhostListenerConfigManagerDisconnected Um ponteiro para uma função PFN_WEBHOST_LISTENER_CONFIG_MANAGER_DISCONNECT .
pfnWebhostListenerConfigManagerInitializationCompleted Um ponteiro para uma função PFN_WEBHOST_LISTENER_CONFIG_MANAGER_INITIALIZATION_COMPLETED .
pfnWebhostListenerApplicationPoolCreated Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_POOL_CREATED .
pfnWebhostListenerApplicationPoolDeleted Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_POOL_DELETED .
pfnWebhostListenerApplicationPoolIdentityChanged Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_POOL_IDENTITY_CHANGED .
pfnWebhostListenerApplicationPoolStateChanged Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_POOL_STATE_CHANGED .
pfnWebhostListenerApplicationPoolCanOpenNewListenerChannelInstance Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_POOL_CAN_OPEN_NEW_LISTENER_CHANNEL_INSTANCE .
pfnWebhostListenerApplicationPoolAllListenerChannelInstancesStopped Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_POOL_ALL_LISTENER_CHANNEL_INSTANCES_STOPPED .
pfnWebhostListenerApplicationCreated Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_CREATED .
pfnWebhostListenerApplicationDeleted Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_DELETED .
pfnWebhostListenerApplicationBindingsChanged Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_BINDINGS_CHANGED .
pfnWebhostListenerApplicationAppPoolChanged Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_APP_POOL_CHANGED .
pfnWebhostListenerApplicationRequestsBlockedChanged Um ponteiro para uma função PFN_WEBHOST_LISTENER_APPLICATION_REQUESTS_BLOCKED_CHANGED .

Requisitos

Tipo Descrição
Cliente - IIS 7.0 no Windows Vista
- IIS 7.5 no Windows 7
- IIS 8.0 no Windows 8
- IIS 10.0 no Windows 10
Servidor - IIS 7.0 no Windows Server 2008
- IIS 7.5 no Windows Server 2008 R2
- IIS 8.0 no Windows Server 2012
- IIS 8.5 no Windows Server 2012 R2
- IIS 10.0 no Windows Server 2016
Produto - 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
parâmetro Listeneradapter.h

Consulte Também

Estruturas do adaptador do ouvinte
Função WebhostRegisterProtocol