ConfigurationException Constructor (String, 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.

Initializes a new instance of the ConfigurationException class.

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

[ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
public ConfigurationException(
	string message,
	XmlNode node


Type: System.String

A message describing why this ConfigurationException exception was thrown.

Type: System.Xml.XmlNode

The XmlNode that caused this ConfigurationException to be thrown.

.NET Framework
Available since 1.1
Return to top