ConfigurationException.GetXmlNodeLineNumber(XmlNode) Metoda

Definicja

Przestroga

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

Przestroga

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

Przestroga

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

Pobiera numer wiersza w pliku konfiguracji, który obiekt wewnętrzny XmlNode reprezentowany podczas zgłaszania tego wyjątku konfiguracji.

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

Parametry

node
XmlNode

Element XmlNode , który spowodował zgłoszenie tego ConfigurationException wyjątku.

Zwraca

Reprezentujący int numer wiersza węzła.

Atrybuty

Dotyczy