Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents an exception in the IIS 7 configuration system.
Syntax
Interface IAppHostConfigException : public IUnknown
Methods
This interface contains no methods.
Properties
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. |
Inheritance Hierarchy
IAppHostConfigException
Requirements
Type | Description |
---|---|
Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
Server | - IIS 7.0 on Windows Server 2008 - 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 - IIS Express 7.5, IIS Express 8.0, IIS Express 10.0 |
Header | Ahadmin.h |
See Also
Application Host Administration Interfaces
Application Host Administration API Reference