ConfigurationErrorsException::GetLineNumber Method
.NET Framework (current version)
Gets the line number within the configuration file that was being processed when this configuration exception was thrown.
Assembly: System.Configuration (in System.Configuration.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | GetLineNumber(XmlNode^) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the line number within the configuration file that the internal XmlNode object represented when this configuration exception was thrown. |
![]() ![]() | GetLineNumber(XmlReader^) | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the line number within the configuration file that the internal XmlReader object was processing when this configuration exception was thrown. |
Show:

