| title | IAppHostConfigException Interface |
|---|---|
| description | Learn how the IAppHostConfigException interface represents an exception in the IIS 7 configuration system. |
| ms.date | 10/07/2016 |
| ms.assetid | 09e456cc-7b93-2227-adf1-18f2287be43c |
Represents an exception in the [!INCLUDEiisver] configuration system.
Interface IAppHostConfigException : public IUnknown This interface contains no methods.
The following table lists the properties exposed by the IAppHostConfigException interface.
| Property | Description |
|---|---|
| ConfigPath | Gets the configuration path of the file that contains the configuration that caused the exception. |
| ErrorLine | Gets the contents of line in the configuration file that caused the current exception to be thrown. |
| ErrorString | Gets a description of the reason for the exception. |
| FileName | Gets the physical path of the configuration file that caused the current exception to be thrown. |
| LineNumber | Gets the number of the line in the configuration file that caused the exception to be thrown. |
| PostErrorLine | Gets the contents of the line after the line in the configuration file that caused the current exception to be thrown. |
| PreErrorLine | Gets the contents of the line before the line in the configuration file that caused the current exception to be thrown. |
IAppHostConfigException
| Type | Description |
|---|---|
| Client | - IIS 7.0 on [!INCLUDEwinvista] - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on [!INCLUDEwinsrv2008] - 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 - [!INCLUDEiisexp75], [!INCLUDEiisexp80], [!INCLUDEiisexp100] |
| Header | Ahadmin.h |
Application Host Administration Interfaces
Application Host Administration API Reference