ConfigurationException.GetXmlNodeLineNumber(XmlNode) ConfigurationException.GetXmlNodeLineNumber(XmlNode) ConfigurationException.GetXmlNodeLineNumber(XmlNode) ConfigurationException.GetXmlNodeLineNumber(XmlNode) Method

Definition

Warning

This API is now obsolete.

Gets the line number within the configuration file that the internal XmlNode object represented when this configuration exception was thrown.

public:
 static int GetXmlNodeLineNumber(System::Xml::XmlNode ^ node);
[System.Obsolete("This class is obsolete.  Use System.Configuration.ConfigurationErrorsException")]
[System.Obsolete("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetLinenumber instead")]
[System.Obsolete("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetFilename instead")]
public static int GetXmlNodeLineNumber (System.Xml.XmlNode node);
static member GetXmlNodeLineNumber : System.Xml.XmlNode -> int
Public Shared Function GetXmlNodeLineNumber (node As XmlNode) As Integer

Parameters

node
XmlNode XmlNode XmlNode XmlNode

The XmlNode that caused this ConfigurationException exception to be thrown.

Returns

An int representing the node line number.

Applies to