ConfigurationException.GetXmlNodeFilename(XmlNode) Metoda

Definicja

Przestroga

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

Przestroga

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

Pobiera ścieżkę do pliku konfiguracji, z którego został załadowany obiekt wewnętrzny XmlNode podczas zgłaszania tego wyjątku konfiguracji.

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

Parametry

node
XmlNode

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

Zwraca

Reprezentująca string nazwę pliku węzła.

Atrybuty

Dotyczy