ConfigurationErrorsException::GetLineNumber Method (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.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- node
-
Type:
System.Xml::XmlNode^
The XmlNode object that caused this ConfigurationErrorsException exception to be thrown.
Return Value
Type: System::Int32The line number within the configuration file that contains the XmlNode object being parsed when this configuration exception was thrown.
The GetFilename method returns the name of the configuration file that contains the XmlNode object being parsed when the exception occurred.
Available since 2.0