次の方法で共有


ConfigurationException.GetXmlNodeLineNumber(XmlNode) メソッド

定義

注意事項

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

注意事項

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

注意事項

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

この構成上の例外がスローされたときに、内部 XmlNode オブジェクトが表していた構成ファイル内の行番号を取得します。

public:
 static int GetXmlNodeLineNumber(System::Xml::XmlNode ^ node);
[System.Obsolete("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetLinenumber instead")]
public static int GetXmlNodeLineNumber (System.Xml.XmlNode node);
[System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException.GetFilename instead.")]
public static int GetXmlNodeLineNumber (System.Xml.XmlNode node);
[System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException.GetLinenumber instead.")]
public static int GetXmlNodeLineNumber (System.Xml.XmlNode node);
public static int GetXmlNodeLineNumber (System.Xml.XmlNode node);
[<System.Obsolete("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetLinenumber instead")>]
static member GetXmlNodeLineNumber : System.Xml.XmlNode -> int
[<System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException.GetFilename instead.")>]
static member GetXmlNodeLineNumber : System.Xml.XmlNode -> int
[<System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException.GetLinenumber instead.")>]
static member GetXmlNodeLineNumber : System.Xml.XmlNode -> int
static member GetXmlNodeLineNumber : System.Xml.XmlNode -> int
Public Shared Function GetXmlNodeLineNumber (node As XmlNode) As Integer

パラメーター

node
XmlNode

この XmlNode 例外がスローされる原因となった ConfigurationException

戻り値

ノード行番号を表す int

属性

適用対象