ConfigurationException.GetXmlNodeFilename(XmlNode) Metodo

Definizione

Attenzione

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

Attenzione

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

Ottiene il percorso del file di configurazione da cui è stato caricato l'oggetto interno XmlNode quando è stata generata questa eccezione di configurazione.

public:
 static System::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")]
public static string GetXmlNodeFilename(System.Xml.XmlNode node);
[<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
[<System.Obsolete("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetFilename instead")>]
static member GetXmlNodeFilename : System.Xml.XmlNode -> string
Public Shared Function GetXmlNodeFilename (node As XmlNode) As String

Parametri

node
XmlNode

Oggetto XmlNode che ha causato la generazione di questa ConfigurationException eccezione.

Valori restituiti

Oggetto string che rappresenta il nome del file del nodo.

Attributi

Si applica a