This documentation is archived and is not being maintained.

ConfigurationException.GetXmlNodeLineNumber Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

NOTE: This method is now obsolete.

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
)
/** @attribute ObsoleteAttribute("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetLinenumber instead") */ 
public static int GetXmlNodeLineNumber (
	XmlNode node
)
ObsoleteAttribute("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetLinenumber instead") 
public static function GetXmlNodeLineNumber (
	node : XmlNode
) : int
Not applicable.

Parameters

node

The XmlNode that caused this ConfigurationException exception to be thrown.

Return Value

An int representing the node line number.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 1.0, 1.1, 2.0
Obsolete (compiler warning) in 3.0
Show: