Partager via


ConfigurationException.GetXmlNodeLineNumber(XmlNode) Méthode

Définition

Attention

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

Attention

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

Attention

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

Obtient le numéro de ligne du fichier de configuration que l'objet XmlNode interne représentait lorsque cette exception de configuration a été levée.

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

Paramètres

node
XmlNode

XmlNode qui entraîne la levée de cette exception ConfigurationException.

Retours

int représentant le numéro de ligne du nœud.

Attributs

S’applique à