共用方式為


IHttpServer2 介面

表示全域層級作業的處理內容,並啟用擷取組態檔、擴充介面、中繼資料、權杖和背景工作進程架構。

Syntax

class IHttpServer2 : public IHttpServer  

方法

下表列出 介面所 IHttpServer2 公開的方法。

名稱 描述
GetAppPoolConfigFile 擷取應用程式集區組態檔的路徑。
GetExtendedInterface 根據版本 GUID 擷取正確的向下轉換指標, (全域唯一識別碼) 值。
GetMetadata 擷取有關指定其名稱和 URL 的網站中繼資料。
GetToken 擷取指定使用者名稱、密碼和登入方法的驗證權杖。
GetWorkerProcessFramework 擷取伺服器的背景工作進程架構介面。

衍生類別

這個介面不包含衍生類別。

繼承階層架構

IHttpServer

IHttpServer2

規格需求

類型 描述
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

另請參閱

Web Server Core 介面