Note
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier les répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de changer de répertoire.
Définit un pointeur vers la structure de rappel passée à la fonction WebhostRegisterProtocol .
Syntaxe
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;
};
Membres
| Nom du membre | Description |
|---|---|
dwBytesInCallbackStructure |
DWORD qui contient le nombre d’octets dans la structure. |
pfnWebhostListenerConfigManagerConnected |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_CONFIG_MANAGER_CONNECTED . |
pfnWebhostListenerConfigManagerDisconnected |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_CONFIG_MANAGER_DISCONNECT . |
pfnWebhostListenerConfigManagerInitializationCompleted |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_CONFIG_MANAGER_INITIALIZATION_COMPLETED . |
pfnWebhostListenerApplicationPoolCreated |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_POOL_CREATED . |
pfnWebhostListenerApplicationPoolDeleted |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_POOL_DELETED . |
pfnWebhostListenerApplicationPoolIdentityChanged |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_POOL_IDENTITY_CHANGED . |
pfnWebhostListenerApplicationPoolStateChanged |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_POOL_STATE_CHANGED . |
pfnWebhostListenerApplicationPoolCanOpenNewListenerChannelInstance |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_POOL_CAN_OPEN_NEW_LISTENER_CHANNEL_INSTANCE . |
pfnWebhostListenerApplicationPoolAllListenerChannelInstancesStopped |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_POOL_ALL_LISTENER_CHANNEL_INSTANCES_STOPPED . |
pfnWebhostListenerApplicationCreated |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_CREATED . |
pfnWebhostListenerApplicationDeleted |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_DELETED . |
pfnWebhostListenerApplicationBindingsChanged |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_BINDINGS_CHANGED . |
pfnWebhostListenerApplicationAppPoolChanged |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_APP_POOL_CHANGED . |
pfnWebhostListenerApplicationRequestsBlockedChanged |
Pointeur vers une fonction PFN_WEBHOST_LISTENER_APPLICATION_REQUESTS_BLOCKED_CHANGED . |
Spécifications
| Type | Description |
|---|---|
| Client | - IIS 7.0 sur Windows Vista - IIS 7.5 sur Windows 7 - IIS 8.0 sur Windows 8 - IIS 10.0 sur Windows 10 |
| Serveur | - IIS 7.0 sur Windows Server 2008 - IIS 7.5 sur Windows Server 2008 R2 - IIS 8.0 sur Windows Server 2012 - IIS 8.5 sur Windows Server 2012 R2 - IIS 10.0 sur Windows Server 2016 |
| Produit | - 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 |
| En-tête | Listeneradapter.h |
Voir aussi
Structures de l’adaptateur d’écouteur
Fonction WebhostRegisterProtocol