ConfigurationException Constructor (String, Exception)

ConfigurationException Constructor (String, Exception)

 
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,
	Exception inner
)

Parameters

message
Type: System.String

A message describing why this ConfigurationException exception was thrown.

inner
Type: System.Exception

The inner exception that caused this ConfigurationException to be thrown, if any.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft