ConfigurationException Constructor (String^, Exception^, String^, Int32)

 
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)

public:
[ObsoleteAttribute("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
ConfigurationException(
	String^ message,
	Exception^ inner,
	String^ filename,
	int line
)

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.

filename
Type: System::String^

The path to the configuration file that caused this ConfigurationException to be thrown.

line
Type: System::Int32

The line number within the configuration file at which this ConfigurationException was thrown.

.NET Framework
Available since 1.1
Return to top
Show: