Compartir a través de


ConfigurationException.GetXmlNodeLineNumber(XmlNode) Método

Definición

Precaución

This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetLinenumber instead

Precaución

ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException.GetFilename instead.

Precaución

ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException.GetLinenumber instead.

Obtiene el número de línea del archivo de configuración que representaba el objeto XmlNode interno al producirse esta excepción de configuración.

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

Parámetros

node
XmlNode

Objeto XmlNode que ha hecho que se produzca esta excepción ConfigurationException.

Devoluciones

int que representa el número de línea del nodo.

Atributos

Se aplica a