共用方式為


ConfigurationException.GetXmlNodeFilename(XmlNode) 方法

定義

警告

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

警告

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

取得當擲回此組態例外狀況時,載入內部 XmlNode 物件的來源組態檔之路徑。

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

參數

node
XmlNode

導致擲回此 XmlNode 例外狀況的 ConfigurationException

傳回

表示節點之檔案名稱的 string

屬性

適用於