Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Defines a pointer to the callback structure that is passed to the WebhostRegisterProtocol function.
Syntax
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;
};
Members
| Member name | Description |
|---|---|
dwBytesInCallbackStructure |
A DWORD that contains the number of bytes in the structure. |
pfnWebhostListenerConfigManagerConnected |
A pointer to a PFN_WEBHOST_LISTENER_CONFIG_MANAGER_CONNECTED function. |
pfnWebhostListenerConfigManagerDisconnected |
A pointer to a PFN_WEBHOST_LISTENER_CONFIG_MANAGER_DISCONNECT function. |
pfnWebhostListenerConfigManagerInitializationCompleted |
A pointer to a PFN_WEBHOST_LISTENER_CONFIG_MANAGER_INITIALIZATION_COMPLETED function. |
pfnWebhostListenerApplicationPoolCreated |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_POOL_CREATED function. |
pfnWebhostListenerApplicationPoolDeleted |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_POOL_DELETED function. |
pfnWebhostListenerApplicationPoolIdentityChanged |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_POOL_IDENTITY_CHANGED function. |
pfnWebhostListenerApplicationPoolStateChanged |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_POOL_STATE_CHANGED function. |
pfnWebhostListenerApplicationPoolCanOpenNewListenerChannelInstance |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_POOL_CAN_OPEN_NEW_LISTENER_CHANNEL_INSTANCE function. |
pfnWebhostListenerApplicationPoolAllListenerChannelInstancesStopped |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_POOL_ALL_LISTENER_CHANNEL_INSTANCES_STOPPED function. |
pfnWebhostListenerApplicationCreated |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_CREATED function. |
pfnWebhostListenerApplicationDeleted |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_DELETED function. |
pfnWebhostListenerApplicationBindingsChanged |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_BINDINGS_CHANGED function. |
pfnWebhostListenerApplicationAppPoolChanged |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_APP_POOL_CHANGED function. |
pfnWebhostListenerApplicationRequestsBlockedChanged |
A pointer to a PFN_WEBHOST_LISTENER_APPLICATION_REQUESTS_BLOCKED_CHANGED function. |
Requirements
| Type | Description |
|---|---|
| Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on Windows Server 2008 - 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 - IIS Express 7.5, IIS Express 8.0, IIS Express 10.0 |
| Header | Listeneradapter.h |
See Also
Listener Adapter Structures
WebhostRegisterProtocol Function