Bagikan melalui


ConfigurationException.GetXmlNodeFilename(XmlNode) Metode

Definisi

Perhatian

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

Perhatian

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

Mendapatkan jalur ke file konfigurasi tempat objek internal XmlNode dimuat ketika pengecualian konfigurasi ini dilemparkan.

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

Parameter

node
XmlNode

Yang XmlNode menyebabkan pengecualian ini ConfigurationException dilemparkan.

Mengembalikan

yang string mewakili nama file simpul.

Atribut

Berlaku untuk