This documentation is archived and is not being maintained.

ConfigurationException.GetXmlNodeFilename Method

Returns the name of the file that contains the configuration section node that contains the error.

[Visual Basic]
Public Shared Function GetXmlNodeFilename( _
   ByVal node As XmlNode _
) As String
[C#]
public static string GetXmlNodeFilename(
 XmlNode node
);
[C++]
public: static String* GetXmlNodeFilename(
 XmlNode* node
);
[JScript]
public static function GetXmlNodeFilename(
   node : XmlNode
) : String;

Parameters

node
The name of the configuration section node that contains the error.

Return Value

The name of the configuration file.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ConfigurationException Class | ConfigurationException Members | System.Configuration Namespace

Show: