Share via


ConfigurationException.GetXmlNodeFilename(XmlNode) Méthode

Définition

Attention

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

Attention

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

Obtient le chemin d'accès du fichier de configuration à partir duquel l'objet XmlNode interne a été chargé lorsque cette exception de configuration a été levée.

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

Paramètres

node
XmlNode

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

Retours

string représentant le nom de fichier du nœud.

Attributs

S’applique à