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,表示节点文件名。

属性

适用于