ConfigurationException.GetXmlNodeLineNumber Method (XmlNode)

 
Note: This API is now obsolete.

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.

Namespace:   System.Configuration
Assembly:  System (in System.dll)

[ObsoleteAttribute("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetLinenumber instead")]
public static int GetXmlNodeLineNumber(
	XmlNode node
)

Parameters

node
Type: System.Xml.XmlNode

The XmlNode that caused this ConfigurationException exception to be thrown.

Return Value

Type: System.Int32

An int representing the node line number.

.NET Framework
Available since 1.1
Return to top
Show: