ConfigurationException.GetXmlNodeFilename Method (XmlNode)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Note: This API is now obsolete.

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the path to the configuration file from which the internal XmlNode object was loaded when this configuration exception was thrown.

Namespace:   System.Configuration
Assembly:  System (in System.dll)

[ObsoleteAttribute("This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetFilename instead")]
public static string GetXmlNodeFilename(
	XmlNode node


Type: System.Xml.XmlNode

The XmlNode that caused this ConfigurationException exception to be thrown.

Return Value

Type: System.String

A string representing the node file name.

.NET Framework
Available since 1.1
Return to top