表示 IIS 7 組態系統中的例外狀況。
Syntax
Interface IAppHostConfigException : public IUnknown
方法
此介面不包含任何方法。
屬性
下表列出 介面所 IAppHostConfigException 公開的屬性。
| 屬性 | 描述 |
|---|---|
| ConfigPath | 取得檔案的組態路徑,其中包含造成例外狀況的組態。 |
| ErrorLine | 取得組態檔中導致擲回目前例外狀況的行內容。 |
| ErrorString | 取得例外狀況原因的描述。 |
| FileName | 取得導致擲回目前例外狀況之組態檔的實體路徑。 |
| LineNumber | 取得組態檔中導致擲回例外狀況的行號。 |
| PostErrorLine | 取得組態檔中導致擲回目前例外狀況之行後行的內容。 |
| PreErrorLine | 取得組態檔中導致擲回目前例外狀況之行前行的內容。 |
繼承階層架構
IAppHostConfigException
規格需求
| 類型 | 描述 |
|---|---|
| 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 |
| 標頭 | Ahadmin.h |