PFN_WEBHOST_LISTENER_APPLICATION_POOL_STATE_CHANGED函式
通知接聽程式配接器應用程式集區的狀態已變更。
語法
typedef VOID(* PFN_WEBHOST_LISTENER_APPLICATION_POOL_STATE_CHANGED)(
IN VOID* pContext,
IN LPCWSTR AppPoolId,
IN BOOL fIsEnabled
);
參數
pContext
[IN]接聽程式配接器傳遞至WebhostRegisterProtocol之內容的指標 VOID
。
AppPoolId
[IN]字串的指標,其中包含具有已變更狀態的應用程式集區。
fIsEnabled
[IN] true
表示已啟用應用程式集區;否則為 false
。
傳回值
VOID
.
備註
當應用程式集區狀態從啟用變更為已停用或從停用變更為已啟用時,就會發生此通知。
Windows Process Activation Service (WAS) 非同步呼叫此函式,且不會等候通知完成。
規格需求
類型 | 描述 |
---|---|
Client | - Windows Vista 上的 IIS 7.0 - Windows 7 上的 IIS 7.5 - Windows 8 上的 IIS 8.0 - Windows 10上的 IIS 10.0 |
伺服器 | - Windows Server 2008 上的 IIS 7.0 - Windows Server 2008 R2 上的 IIS 7.5 - Windows Server 2012 上的 IIS 8.0 - Windows Server 2012 R2 上的 IIS 8.5 - Windows Server 2016上的 IIS 10.0 |
產品 | - 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 |
標頭 | Listeneradapter.h |