擷取並設定模組的註冊資訊。
Syntax
class IHttpModuleRegistrationInfo
方法
下表列出 介面所 IHttpModuleRegistrationInfo 公開的方法。
| 名稱 | 描述 |
|---|---|
| GetId | 傳回已註冊模組的唯一識別碼。 |
| GetName | 擷取模組名稱。 |
| SetGlobalNotifications | 註冊模組的全域層級通知。 |
| SetPriorityForGlobalNotification | 設定模組的全域層級優先順序。 |
| SetPriorityForRequestNotification | 設定模組的要求層級優先順序。 |
| SetRequestNotifications | 註冊模組的要求層級通知。 |
衍生類別
這個介面不包含衍生類別。
備註
IHttpModuleRegistrationInfo當 IIS 7 載入模組時,會建立介面並傳遞至模組的匯出RegisterModule函式。 此介面主要定義模組的全域層級和要求層級優先順序和通知。
規格需求
| 類型 | 描述 |
|---|---|
| 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 |
| 標頭 | Httpserv.h |